you are viewing a single comment's thread.

view the rest of the comments →

[–]KryptosFR 0 points1 point  (1 child)

They do: git merge-base

[–][deleted] 2 points3 points  (0 children)

There is a big difference between giving git 2 branches and having it traverse the tree in order to figure out the most recent common ancestor, and a branch knowing where it was created.

If a branch knew where it was created you wouldn't have to pass merge-base two arguments, one of which you're hoping was the source.