summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5ec8217)
raw | patch | inline | side by side (parent: 5ec8217)
author | Junio C Hamano <gitster@pobox.com> | |
Fri, 23 Sep 2011 22:21:01 +0000 (15:21 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 23 Sep 2011 22:21:01 +0000 (15:21 -0700) |
Fix another instance of a recursive merge incorrectly paying attention to
the working tree file during a virtual ancestor merge, that resulted in
spurious and useless "addinfo_cache failed" error message.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
the working tree file during a virtual ancestor merge, that resulted in
spurious and useless "addinfo_cache failed" error message.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-recursive.c | patch | blob | history |
diff --git a/merge-recursive.c b/merge-recursive.c
index 6bbc4512a9d44f18e8fc8d38b9ddb79e8e7ff1e6..3efc04e04fd754de85fbab1dbafa7bffb2fa2854 100644 (file)
--- a/merge-recursive.c
+++ b/merge-recursive.c
path_renamed_outside_HEAD = !path2 || !strcmp(path, path2);
if (!path_renamed_outside_HEAD) {
add_cacheinfo(mfi.mode, mfi.sha, path,
- 0 /*stage*/, 1 /*refresh*/, 0 /*options*/);
+ 0, (!o->call_depth), 0);
return mfi.clean;
}
} else