summaryrefslogtreecommitdiffstats
path: root/git-merge-base.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-10-26 15:24:37 -0700
committerJunio C Hamano <gitster@pobox.com>2016-10-26 15:24:37 -0700
commit4a401d5d92702e0028f6a84625d0cac6218502f6 (patch)
tree2a4cfb0e8efa777e3084bcb796850963b2f8a6c8 /git-merge-base.txt
parentc0859f7292882e15477dfc88025e14ce83a625db (diff)
downloadgit-htmldocs-4a401d5d92702e0028f6a84625d0cac6218502f6.tar.gz
Autogenerated HTML docs for v2.10.1-613-g2cc2e
Diffstat (limited to 'git-merge-base.txt')
-rw-r--r--git-merge-base.txt26
1 files changed, 13 insertions, 13 deletions
diff --git a/git-merge-base.txt b/git-merge-base.txt
index 808426faa..b968b64c3 100644
--- a/git-merge-base.txt
+++ b/git-merge-base.txt
@@ -80,8 +80,8 @@ which is reachable from both 'A' and 'B' through the parent relationship.
For example, with this topology:
- o---o---o---B
- /
+ o---o---o---B
+ /
---o---1---o---o---o---A
the merge base between 'A' and 'B' is '1'.
@@ -116,11 +116,11 @@ the best common ancestor of all commits.
When the history involves criss-cross merges, there can be more than one
'best' common ancestor for two commits. For example, with this topology:
- ---1---o---A
- \ /
- X
- / \
- ---2---o---o---B
+ ---1---o---A
+ \ /
+ X
+ / \
+ ---2---o---o---B
both '1' and '2' are merge-bases of A and B. Neither one is better than
the other (both are 'best' merge bases). When the `--all` option is not given,
@@ -154,13 +154,13 @@ topic origin/master`, the history of remote-tracking branch
`origin/master` may have been rewound and rebuilt, leading to a
history of this shape:
- o---B1
- /
+ o---B1
+ /
---o---o---B2--o---o---o---B (origin/master)
- \
- B3
- \
- Derived (topic)
+ \
+ B3
+ \
+ Derived (topic)
where `origin/master` used to point at commits B3, B2, B1 and now it
points at B, and your `topic` branch was started on top of it back