aboutsummaryrefslogtreecommitdiff
path: root/show-branch.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-01-25 02:37:40 -0800
committerJunio C Hamano <junkio@cox.net>2006-01-28 00:09:38 -0800
commitb2d4c56f2f370481c80e478ac323ebb13eece807 (patch)
treeb1508998590df1ee3af0cf0c10056db57c67dd51 /show-branch.c
parentd50125085a6c4775a77d45a6d294d723f6de8869 (diff)
downloadgit-b2d4c56f2f370481c80e478ac323ebb13eece807.tar.gz
git-b2d4c56f2f370481c80e478ac323ebb13eece807.tar.xz
diff-tree: abbreviate merge parent object names with --abbrev --pretty.
When --abbrev is in effect, abbreviate the merge parent names in prettyprinted output. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'show-branch.c')
-rw-r--r--show-branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/show-branch.c b/show-branch.c
index 7a0dcc649..d06e57740 100644
--- a/show-branch.c
+++ b/show-branch.c
@@ -259,7 +259,7 @@ static void show_one_commit(struct commit *commit, int no_name)
struct commit_name *name = commit->object.util;
if (commit->object.parsed)
pretty_print_commit(CMIT_FMT_ONELINE, commit->buffer, ~0,
- pretty, sizeof(pretty));
+ pretty, sizeof(pretty), 0);
else
strcpy(pretty, "(unavailable)");
if (!strncmp(pretty, "[PATCH] ", 8))