From: Björn Gustavsson Date: Sat, 7 Nov 2009 09:58:55 +0000 (+0100) Subject: format-patch: Add "--no-stat" as a synonym for "-p" X-Git-Tag: v1.6.6-rc0~27^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/2cfa8330e414bc73b01d45f232f8566afc56dd10?hp=2cfa8330e414bc73b01d45f232f8566afc56dd10 format-patch: Add "--no-stat" as a synonym for "-p" "-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 Signed-off-by: Junio C Hamano ---