concestor rather than target HEAD for filter since #5440
tomdavidson
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
fitler since change uses a diff from current branch and I think the HEAD of the target branch.
I think diffing from the concestor is better than the HEAD of the target trunk to ensure the filter is only capturing what is changed in the working branch and not other merged changes since the working branch was created.... I like to use
git diff --name-only HEAD $(git merge-base --fork-point HEAD main) -- "$glob"Does this make more sense to how others are expecting the filter since to work?
Beta Was this translation helpful? Give feedback.
All reactions