mirror of
https://github.com/git/git.git
synced 2024-11-18 17:23:49 +01:00
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>
This commit is contained in:
parent
78fff6ebba
commit
db89665fbf
@ -326,6 +326,9 @@ int main(int argc, const char **argv)
|
||||
else
|
||||
revs.header_prefix = "commit ";
|
||||
}
|
||||
else if (revs.verbose_header)
|
||||
/* Only --header was specified */
|
||||
revs.commit_format = CMIT_FMT_RAW;
|
||||
|
||||
list = revs.commits;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user