abhinav / abhinav/git-spice

navigation comment: merged CR history limit

Aperta
#1,312 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
contributor-friendly enhancement
Lingua principale
Go
Stelle
762
Fork
72
Merge medio
18h 24m
PR unite (30g)
28

Descrizione

When we post the navigation comment for a branch in the stack, it includes the full downstack history for all known downstack branches.
For long-lived stacks, this can result in deeply nested lists which GitHub (and probably other systems) aren't good at rendering. Beyond 10, all items are rendered in the same itemized list without topology represented.
We should include a configuration option to limit how far back the merged downstack history goes.

Maybe we can overload [spice.submit.navigationComment.downstack](https://abhinav.github.io/git-spice/cli/config/#spicesubmitnavigationcommentdownstack), which currently has options 'all' and 'open' to also accept numbers for an explicit maximum count of downstack CRs to include.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.