-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Compare selected ancestor with working tree" needs "select for compare" #279
Comments
Agree with this feedback. The functionality is great, basically removing the need for git-tree-compare, but the discoverability and usability is not that great, IMO, in GitLens 8.0. For reference, the issue where the feature was introduced, is: Compare working copy to merge-base #240 |
Regarding 266b43b, "Compare Ancestry with Working Tree" still feels a bit weird to me. For example, it's not obvious to me what "ancestry" means, exactly, and also, I'd like to compare my branch with the base, not the uncommitted changes in my working directory. Simplest label from my point of view would be "Compare current branch with |
@borekb I feel like these are 2 separate operations -- Compare Ancestry with Working Tree is to compare the common ancestry of the selected branch and the current branch's working tree. While what you are suggesting exists as Compare with Index (HEAD) if you select the Does that make sense? |
No, what I'm after is a GitHub PR style diff, i.e., HEAD (most recent branch commit) vs. common ancestor with my "base branch" (usually master). It's all a bit confusing, the use cases and terminology should probably be reviewed. Currently, I see these options when I right-click the current branch: There are many "compares" there but I don't think there is a single one that does GitHub PR-style diff, is there? I think it's very common to want to know the answer to the questions "what did change in this branch"? |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm not sure I understand how "Compare selected ancestor with working tree" is supposed to work.
The only way I can get it to show up is by first doing "select to compare".
And only if I choose my current branch does the result of "Compare selected ancestor..." make sense to me.
Shouldn't "Compare selected ancestor..." work without first doing "select for compare", implicitly choosing the current branch for the merge-base calculation?
The text was updated successfully, but these errors were encountered: