Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"Compare selected ancestor with working tree" needs "select for compare" #279
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".
added a commit
Feb 25, 2018
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"?