diff options
author | Junio C Hamano <junkio@cox.net> | 2006-10-23 00:36:22 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-10-27 17:16:40 -0700 |
commit | 9926ba98a4a77e012ea9121abee42608fe1564b6 (patch) | |
tree | bcb37631fc65f96f7e095ded96860411909f17d8 | |
parent | ed93b449c5e13a70beb7f0ae02fb6da95e42a805 (diff) | |
download | git-9926ba98a4a77e012ea9121abee42608fe1564b6.tar.gz git-9926ba98a4a77e012ea9121abee42608fe1564b6.tar.xz |
merge-recursive: use abbreviated commit object name.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r-- | merge-recursive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/merge-recursive.c b/merge-recursive.c index 2ba43ae84..ccfa905e9 100644 --- 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 { |