summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a85b84)
raw | patch | inline | side by side (parent: 7a85b84)
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Mon, 31 Jul 2006 10:42:35 +0000 (12:42 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 31 Jul 2006 22:41:12 +0000 (15:41 -0700) |
It would not make sense to parse a virtual commit, therefore set the
"parsed" flag to 1.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
"parsed" flag to 1.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
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 10bce705fa6a637dda75753504c699dc18da7b90..74a329faa5f35c24bcd61271d635dca26778c19e 100644 (file)
--- a/merge-recursive.c
+++ b/merge-recursive.c
commit->tree = tree;
commit->util = (void*)comment;
*(int*)commit->object.sha1 = virtual_id++;
+ /* avoid warnings */
+ commit->object.parsed = 1;
return commit;
}