diff options
author | Björn Gustavsson <bgustavsson@gmail.com> | 2009-11-07 10:58:55 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-10 11:47:30 -0800 |
commit | 2cfa8330e414bc73b01d45f232f8566afc56dd10 (patch) | |
tree | c899b332a39df26e194d4b94610fed850f05d1d7 /builtin-show-branch.c | |
parent | dce5ef142046e107e20aa03ca5a353032bbf9653 (diff) | |
download | git-2cfa8330e414bc73b01d45f232f8566afc56dd10.tar.gz |
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 <bgustavsson@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-show-branch.c')
0 files changed, 0 insertions, 0 deletions