summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 397dfe6)
raw | patch | inline | side by side (parent: 397dfe6)
author | Junio C Hamano <junkio@cox.net> | |
Fri, 12 Jan 2007 20:05:58 +0000 (12:05 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 12 Jan 2007 20:05:58 +0000 (12:05 -0800) |
It is not available in the outermost merge, and it is only
useful for debugging merge-recursive in the inner merges.
Sergey Vlasov noticed that the old code accesses an
uninitialized location.
Signed-off-by: Junio C Hamano <junkio@cox.net>
useful for debugging merge-recursive in the inner merges.
Sergey Vlasov noticed that the old code accesses an
uninitialized location.
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 52370213092c13bd02988493b21489ec61fb2593..b4acbb74080ad308625fcff09be0af51c2b4111d 100644 (file)
--- a/merge-recursive.c
+++ b/merge-recursive.c
path_list_clear(re_head, 0);
path_list_clear(entries, 1);
- } else {
- clean = 1;
- printf("merging of trees %s and %s resulted in %s\n",
- sha1_to_hex(head->object.sha1),
- sha1_to_hex(merge->object.sha1),
- sha1_to_hex((*result)->object.sha1));
}
+ else
+ clean = 1;
+
if (index_only)
*result = git_write_tree();