merge-recursive: use abbreviated commit object name.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Oct 23, 2006 at 00:36 UTC
9926ba98a4a77e012ea9121abee42608fe1564b6
1 file changed
+1
-1
merge-recursive.c
+1
-1
@@ -98,7 +98,7 @@ static void output_commit_title(struct commit *commit)
98
if (commit->util)
99
printf("virtual %s\n", (char *)commit->util);
100
else {
101
- printf("%s ", sha1_to_hex(commit->object.sha1));
101
+ printf("%s ", find_unique_abbrev(commit->object.sha1, DEFAULT_ABBREV));
102
if (parse_commit(commit) != 0)
103
printf("(bad commit)\n");
104
else {