author | Timo Hirvonen <tihirvon@gmail.com> | |
Tue, 27 Jun 2006 16:43:22 +0000 (19:43 +0300) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 27 Jun 2006 18:04:47 +0000 (11:04 -0700) | ||
commit | 3223847a8fbd6200e38f4a8f1146ca9dc20a813e | |
tree | 98b247dbe143ef3055f331dacbcd019df6c53bb8 | tree | snapshot |
parent | 17985627455901b6ae3a471b67d46239463cebb5 | commit | diff |
Fix diff-tree -s
setup_revisions() calls diff_setup_done() before we can set default
value for output_format. Don't convert DIFF_FORMAT_NO_OUTPUT to 0 in
diff_setup_done(), it is useless and makes diff-tree believe no diff
format parameters were given and thus lets it reset output_format to
DIFF_FORMAT_RAW.
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
setup_revisions() calls diff_setup_done() before we can set default
value for output_format. Don't convert DIFF_FORMAT_NO_OUTPUT to 0 in
diff_setup_done(), it is useless and makes diff-tree believe no diff
format parameters were given and thus lets it reset output_format to
DIFF_FORMAT_RAW.
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c | diff | blob | history |