Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
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
raw
|
patch
| inline |
side by side
(parent:
78fff6e
)
diff --git
a/rev-list.c
b/rev-list.c
index 000f27a8fedbb1ed981fc7466176c47cf8fee993..d3c0dd90e3cb94b253189b4968141b771caeabf5 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;