Thread (12 messages) flat view 12 messages, 3 authors, 2021-01-19

Re: DEVEL: Help with feature implementation

From: Derrick Stolee <hidden>
Date: 2021-01-18 18:28:02

On 1/18/2021 1:06 PM, Aiyee Bee wrote:
Hello everybody!

I want to implement a feature in git, and I'm looking for some help.

I wanted to add a history-simplification option to rev-list so that it
doesn't simplify away any irrelevant commits if they have multiple
relevant _children_, i.e. when they are the point where two relevant
histories diverge.

Basically the effect I want for --show-forkpoints (named like --show-pulls):
http://ix.io/2Ms6
I think what you really want is --full-history --simplify-merges [1]. This
will show the merges that "fork" the history into parallel tracks where
at least two of them contain interesting commits.

Note that this option is expensive to compute, as it walks every
reachable commit before returning a single result.

Thanks,
-Stolee

[1] https://git-scm.com/docs/git-log#Documentation/git-log.txt---simplify-merges
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help