Browse Source

rev-list --header: output format fix

Initial fix prepared by Johannes, but I did it slightly differently.

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Junio C Hamano 19 years ago
parent
commit
db89665fbf
  1. 3
      rev-list.c

3
rev-list.c

@ -326,6 +326,9 @@ int main(int argc, const char **argv)
else else
revs.header_prefix = "commit "; revs.header_prefix = "commit ";
} }
else if (revs.verbose_header)
/* Only --header was specified */
revs.commit_format = CMIT_FMT_RAW;


list = revs.commits; list = revs.commits;



Loading…
Cancel
Save