format-patch: Add "--no-stat" as a synonym for "-p"
authorBjörn Gustavsson <bgustavsson@gmail.com>
Sat, 7 Nov 2009 09:58:55 +0000 (10:58 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Nov 2009 19:47:30 +0000 (11:47 -0800)
"-p" means "generate patch" in 'git log' and 'git diff', so it's
quite surprising that it means "suppress diffstat" in
'git format-patch'.

Keep the "-p" option for backward compatibility, but add
"--no-stat" as a more intuitive synonym. For backward compatibility
with scripts, we must allow combinations of --stat and --no-stat.

Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found