summaryrefslogtreecommitdiff
path: root/rev-list.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-01-27 09:54:59 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-01-28 08:09:39 (GMT)
commit3815f423ae39bf774de3c268c6d3e3b72128a4e5 (patch)
treec3499f33ab225a107d0cc69bfef3567685e246c1 /rev-list.c
parent62a604ba1c8f1ebcb135039ab04c9ca6c96b67f4 (diff)
downloadgit-3815f423ae39bf774de3c268c6d3e3b72128a4e5.zip
git-3815f423ae39bf774de3c268c6d3e3b72128a4e5.tar.gz
git-3815f423ae39bf774de3c268c6d3e3b72128a4e5.tar.bz2
pretty_print_commit(): pass commit object instead of commit->buffer.
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 5fad300..334713a 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), 0);
+ pretty_print_commit(commit_format, commit, ~0, pretty_header, sizeof(pretty_header), 0);
printf("%s%c", pretty_header, hdr_termination);
}
fflush(stdout);