Merge lt/revlist,jc/diff,jc/revparse,jc/abbrev
[git.git] / rev-list.c
index 5bc38fe..0b142c1 100644 (file)
@@ -83,7 +83,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, ~0, pretty_header, sizeof(pretty_header), 0);
                printf("%s%c", pretty_header, hdr_termination);
        }
        fflush(stdout);