When I do a Github comparison view between master and another branch A, Github seems to be comparing the HEAD version of A with an older, non head version of master.
I looked into it, and from what I can tell it sounds like Github is comparing branch A against a common ancestor of master. It's not actually comparing it to what's currently at the HEAD of master.
Is there a way to diff the HEAD of master against the HEAD of Branch A in Github?
If not, why not? This seems like a feature every developer would want to be able to do. Or is there some process that should be done that I'm perhaps missing? I'd like to be able to create a Pull Request directly from one of these diffs.
EDIT: Here's an example repo that shows the problem
https://github.com/bradparks/test_github_diff_view
- I created a new repo that contains a single file, README.md
- I set this file to contain a single line
v100. - I then branched master into a new branch
A, and changed the line to `v200' I then changed the value in the master branch to 'v300', and then compared the 2 branches using the compare link
https://github.com/bradparks/test_github_diff_view/compare/A
and I see the following unexpected result. Why isn't it diffing against
v300instead ofv100?
