summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8a35981)
raw | patch | inline | side by side (parent: 8a35981)
author | Alex Riesen <raa.lkml@gmail.com> | |
Thu, 26 Apr 2007 19:13:49 +0000 (21:13 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 26 Apr 2007 23:11:39 +0000 (16:11 -0700) |
as it is not relevant for whether the result should be written.
Even if no real merge happened, there might be _no_ reason to
rewrite the working tree file. Maybe even more so.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Even if no real merge happened, there might be _no_ reason to
rewrite the working tree file. Maybe even more so.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
merge-recursive.c | patch | blob | history |
diff --git a/merge-recursive.c b/merge-recursive.c
index 094ac59e69779621caf2872c8b4ee14242e89357..8f72b2c079a68ac5cb9d1c90bb7b72fa779efb5f 100644 (file)
--- a/merge-recursive.c
+++ b/merge-recursive.c
mfi = merge_file(o, a, b,
a_branch, b_branch);
- if (mfi.merge && mfi.clean &&
+ if (mfi.clean &&
sha_eq(mfi.sha, ren1->pair->two->sha1) &&
mfi.mode == ren1->pair->two->mode)
/*