-
Apologies in advance if there's a walkthrough or something that I missed when looking through the documentation; this seems like a fairly simple operation conceptually, but I can't tell from the raw How can I determine the set of all commits reachable from one commit, but not reachable from another commit? This should be exactly the set of commits that would be included in (For context: I believe this is exactly the set of commits that should be considered when determining the list of changes made since the last major release of a codebase: knope-dev/knope#505 (comment)) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
No worries, there is no high-level overview or 'by-example' book just yet. This sounds very much like making a revision traversal from a given commit, but not letting it traverse past another commit (the previous release, for instance). This should be possible by using a revision walk with a filter, as it should traverse exactly the commits you would be interested in. Please note that the commitgraph is an acceleration data structure which is already being used when available for an about 7x speedup. I hope that helps. |
Beta Was this translation helpful? Give feedback.
No worries, there is no high-level overview or 'by-example' book just yet.
This sounds very much like making a revision traversal from a given commit, but not letting it traverse past another commit (the previous release, for instance). This should be possible by using a revision walk with a filter, as it should traverse exactly the commits you would be interested in.
Please note that the commitgraph is an acceleration data structure which is already being used when available for an about 7x speedup.
I hope that helps.