Howto get the merge-base ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to know which commit it the parent of a merge.
For exemple if I do that :

  o Merge
 / \
/   \
|   |
|   o Commit D
|   |
|   o Commit C
|   |
o   | Commit B
\  /
 \/
 o Commit A
 |
 o Init

How could I know that ``Commit A'' is the merge-base of ``Merge'' ?

I try to get this git-merge-base but result is strange and quiet
mysterious as he return me always second args I passed to. I'm using
git 1.3.2

--
Beber
#e.fr@freenode
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]