diff --git a/rev-list.c b/rev-list.c
index 5bc38fea6607feb14e2f36a839a921ce44df8f53..0b142c1a6f79bf12901da71ca4e336cc32488171 100644 (file)
--- a/rev-list.c
+++ b/rev-list.c
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, ~0, pretty_header, sizeof(pretty_header), 0);
printf("%s%c", pretty_header, hdr_termination);
}
fflush(stdout);