Set default diff output format after parsing command line
commitc9b5ef998a3027d9f11b0820bb13896096833ccb
authorTimo Hirvonen <tihirvon@gmail.com>
Sat, 24 Jun 2006 17:24:14 +0000 (24 20:24 +0300)
committerJunio C Hamano <junkio@cox.net>
Mon, 26 Jun 2006 21:58:40 +0000 (26 14:58 -0700)
treee37c30116512362697c9e670b654b4c013477c7a
parenta610786f4bc282410d348aba97316115a57740a0
Set default diff output format after parsing command line

Initialize output_format to 0 instead of DIFF_FORMAT_RAW so that we can see
later if any command line options changed it.  Default value is set only if
output format was not specified.

Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-diff-files.c
builtin-diff-index.c
builtin-diff-stages.c
builtin-diff-tree.c
builtin-diff.c
builtin-log.c
diff.c