Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
merge-recursive: use abbreviated commit object name.
author
Junio C Hamano
<junkio@cox.net>
Mon, 23 Oct 2006 07:36:22 +0000
(
00:36
-0700)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 28 Oct 2006 00:16:40 +0000
(17:16 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
merge-recursive.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
ed93b44
)
diff --git
a/merge-recursive.c
b/merge-recursive.c
index 2ba43ae84b20f993ba175f728297cf5360066872..ccfa905e995088f57550aa4717561c9d428911fe 100644
(file)
--- a/
merge-recursive.c
+++ b/
merge-recursive.c
@@
-98,7
+98,7
@@
static void output_commit_title(struct commit *commit)
if (commit->util)
printf("virtual %s\n", (char *)commit->util);
else {
- printf("%s ",
sha1_to_hex(commit->object.sha1
));
+ printf("%s ",
find_unique_abbrev(commit->object.sha1, DEFAULT_ABBREV
));
if (parse_commit(commit) != 0)
printf("(bad commit)\n");
else {