diff --no-index: Do not generate patch output if other output is requested
authorJohannes Sixt <j6t@kdbg.org>
Wed, 25 Mar 2009 17:19:46 +0000 (18:19 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Mar 2009 19:15:30 +0000 (12:15 -0700)
commit5d83f9c19810229bb765ef63864e4f252e83ad61
treea742e49e7e8d90357985d921a20df3303c5eb979
parent2a5643da732b70004920f75efa1ebdc2a6ed1689
diff --no-index: Do not generate patch output if other output is requested

Previously, 'git diff --no-index --stat a b' generated patch output in
addition to the --stat output (or whatever other output format was
requested). Now only the requested output is generated, and patch
output remains the default.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff-no-index.c