author | Linus Torvalds <torvalds@osdl.org> | |
Sun, 16 Apr 2006 22:17:23 +0000 (15:17 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 16 Apr 2006 22:34:37 +0000 (15:34 -0700) | ||
commit | 78fff6ebbafe2d23464a2b059104954bfe8732c7 | |
tree | bc5881117b11df701c08ea2ccb9d195a004d2a49 | tree | snapshot |
parent | cb8f64b4e3f263c113b7a2f156af74b810e969ff | commit | diff |
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>
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 | diff | blob | history | |
log-tree.c | diff | blob | history |