projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78fff6e
)
rev-list --header: output format fix
author
Junio C Hamano
<junkio@cox.net>
Mon, 17 Apr 2006 19:42:36 +0000
(12:42 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 17 Apr 2006 19:42:36 +0000
(12:42 -0700)
Initial fix prepared by Johannes, but I did it slightly differently.
Signed-off-by: Junio C Hamano <junkio@cox.net>
rev-list.c
patch
|
blob
|
history
diff --git
a/rev-list.c
b/rev-list.c
index
000f27a
..
d3c0dd9
100644
(file)
--- a/
rev-list.c
+++ b/
rev-list.c
@@
-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;