fork-point: add --explain flag#1672
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1672 +/- ##
========================================
Coverage 98.78% 98.78%
========================================
Files 42 42
Lines 5170 5187 +17
Branches 939 944 +5
========================================
+ Hits 5107 5124 +17
Misses 39 39
Partials 24 24 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
255f6a7 to
353be16
Compare
a0b4993 to
e5f47e9
Compare
Base automatically changed from
feature/default-related-for-update-descriptions
to
develop
May 12, 2026 21:13
--containing-branches flag--explain flag
Prints, alongside the fork point hash, the branches whose filtered reflog the algorithm matched the commit against - the same set that `status --list-commits` reports next to a `-> fork point ???` annotation on a yellow edge. When a fork point override is active the override short-circuits the reflog scan, so the list is empty and `(none)` is printed. The flag composes with `--inferred` but is mutually exclusive with the override-* / --unset-override flags.
e5f47e9 to
efb78eb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prints, alongside the fork point hash, the branches whose filtered reflog
the algorithm matched the commit against - the same set that
status --list-commitsreports next to a-> fork point ???annotationon a yellow edge.
When a fork point override is active the override short-circuits the
reflog scan, so the list is empty and
(none)is printed.The flag composes with
--inferredbut is mutually exclusive with theoverride-* / --unset-override flags.