summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1b9bc5a)
raw | patch | inline | side by side (parent: 1b9bc5a)
author | Fredrik Kuivinen <freku045@student.liu.se> | |
Tue, 16 May 2006 05:58:15 +0000 (07:58 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 16 May 2006 06:19:46 +0000 (23:19 -0700) |
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-merge-base.txt | patch | blob | history |
index d1d56f194aff866f49c5d0514ce9b47def456bfd..6099be2add74c2eb82ea5b1af844174a4dd896b5 100644 (file)
SYNOPSIS
--------
-'git-merge-base' <commit> <commit>
+'git-merge-base' [--all] <commit> <commit>
DESCRIPTION
-----------
-"git-merge-base" finds as good a common ancestor as possible. Given a
-selection of equally good common ancestors it should not be relied on
-to decide in any particular way.
+
+"git-merge-base" finds as good a common ancestor as possible between
+the two commits. That is, given two commits A and B 'git-merge-base A
+B' will output a commit which is reachable from both A and B through
+the parent relationship.
+
+Given a selection of equally good common ancestors it should not be
+relied on to decide in any particular way.
The "git-merge-base" algorithm is still in flux - use the source...
+OPTIONS
+-------
+--all::
+ Output all common ancestors for the two commits instead of
+ just one.
Author
------