summaryrefslogtreecommitdiff
path: root/rev-list.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-01-25 10:37:40 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-01-28 08:09:38 (GMT)
commitb2d4c56f2f370481c80e478ac323ebb13eece807 (patch)
treeb1508998590df1ee3af0cf0c10056db57c67dd51 /rev-list.c
parentd50125085a6c4775a77d45a6d294d723f6de8869 (diff)
downloadgit-b2d4c56f2f370481c80e478ac323ebb13eece807.zip
git-b2d4c56f2f370481c80e478ac323ebb13eece807.tar.gz
git-b2d4c56f2f370481c80e478ac323ebb13eece807.tar.bz2
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 'rev-list.c')
-rw-r--r--rev-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rev-list.c b/rev-list.c
index e00e6fc..5fad300 100644
--- a/rev-list.c
+++ b/rev-list.c
@@ -81,7 +81,7 @@ static void show_commit(struct commit *commit)
if (verbose_header) {
static char pretty_header[16384];
- pretty_print_commit(commit_format, commit->buffer, ~0, pretty_header, sizeof(pretty_header));
+ pretty_print_commit(commit_format, commit->buffer, ~0, pretty_header, sizeof(pretty_header), 0);
printf("%s%c", pretty_header, hdr_termination);
}
fflush(stdout);