提交 3ace1fe3 编写于 作者: J Junio C Hamano

git-merge documentation: conflicting merge leaves higher stages in index

This hopefully concludes the latest updates that changes the
behaviour of the merge on an unsuccessful automerge.  Instead of
collapsing the conflicted path in the index to show HEAD, we
leave it unmerged, now that diff-files can compare working tree
files with higher stages.
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 54dd99a1
...@@ -108,10 +108,12 @@ When there are conflicts, these things happen: ...@@ -108,10 +108,12 @@ When there are conflicts, these things happen:
2. Cleanly merged paths are updated both in the index file and 2. Cleanly merged paths are updated both in the index file and
in your working tree. in your working tree.
3. For conflicting paths, the index file records the version 3. For conflicting paths, the index file records up to three
from `HEAD`. The working tree files have the result of versions; stage1 stores the version from the common ancestor,
"merge" program; i.e. 3-way merge result with familiar stage2 from `HEAD`, and stage3 from the remote branch (you
conflict markers `<<< === >>>`. can inspect the stages with `git-ls-files -u`). The working
tree files have the result of "merge" program; i.e. 3-way
merge result with familiar conflict markers `<<< === >>>`.
4. No other changes are done. In particular, the local 4. No other changes are done. In particular, the local
modifications you had before you started merge will stay the modifications you had before you started merge will stay the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册