Fixes for option parsing
authorLinus Torvalds <torvalds@osdl.org>
Sun, 16 Apr 2006 22:17:23 +0000 (15:17 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 16 Apr 2006 22:34:37 +0000 (15:34 -0700)
commit78fff6ebbafe2d23464a2b059104954bfe8732c7
treebc5881117b11df701c08ea2ccb9d195a004d2a49
parentcb8f64b4e3f263c113b7a2f156af74b810e969ff
Fixes for option parsing

Make sure "git show" always show the header, regardless of whether there
is a diff or not.

Also, make sure "always_show_header" actually works, since generate_header
only tested it in one out of three return paths.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git.c
log-tree.c