You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Label merge base with master when on another branch #1
When on https://github.com/greasemonkey/greasemonkey/commits/0.8 it would be neat to show 533df63175e234ddc61f (its parent commit, actually) as the intersection between the 0.8 branch and master. Maybe a label "master × 0.8" in some colour of its own would look nice.
Activity
johan commentedon Jun 30, 2011
http://developer.github.com/v3/git/ might allow finding the merge-base, and https://github.com/git/git/blob/master/Documentation/git-merge-base.txt plus the https://github.com/git/git/blob/master/builtin/merge-base.c source code, and the
get_merge_bases_manyhttps://github.com/git/git/blob/master/commit.c implementation.
git source changes re: get_merge_bases_many, by the way.
johan commentedon Sep 9, 2012
http://developer.github.com/v3/repos/commits/#compare-two-commits specifically reports the common merge base of two commits (or that one doesn't exist), taking away the need for the above manual procedures.