summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8ff21b1)
raw | patch | inline | side by side (parent: 8ff21b1)
author | Junio C Hamano <junkio@cox.net> | |
Sat, 7 Apr 2007 12:42:01 +0000 (05:42 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 10 Apr 2007 19:55:51 +0000 (12:55 -0700) |
Case #10 is not handled with unpack-trees.c:threeway_merge()
internally, unless under the agressive rule, and it is not a
bug. As the test expects, ND (one side did not do anything,
other side deleted) case was meant to be handled by the caller's
policy (e.g. git-merge-one-file or git-merge-recursive).
Signed-off-by: Junio C Hamano <junkio@cox.net>
internally, unless under the agressive rule, and it is not a
bug. As the test expects, ND (one side did not do anything,
other side deleted) case was meant to be handled by the caller's
policy (e.g. git-merge-one-file or git-merge-recursive).
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t1000-read-tree-m-3way.sh | patch | blob | history | |
unpack-trees.c | patch | blob | history |
index e26a36cf0f4c113d916c2d23daf036e4844be053..de4e5eb61f5cc197a51005c6cfbd3bf2b9428480 100755 (executable)
9 exists O!=A missing no merge must match A and be
up-to-date, if exists.
------------------------------------------------------------------
- 10 exists O==A missing remove ditto
+ 10 exists O==A missing no merge must match A
------------------------------------------------------------------
11 exists O!=A O!=B no merge must match A and be
A!=B up-to-date, if exists.
diff --git a/unpack-trees.c b/unpack-trees.c
index a0b676903ad042bfc1bb199a33f1658cdfd511c9..2a58b7fa286fbe5e450c40daa6210818065af0d8 100644 (file)
--- a/unpack-trees.c
+++ b/unpack-trees.c
o->nontrivial_merge = 1;
- /* #2, #3, #4, #6, #7, #9, #11. */
+ /* #2, #3, #4, #6, #7, #9, #10, #11. */
count = 0;
if (!head_match || !remote_match) {
for (i = 1; i < o->head_idx; i++) {