]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/git-format-patch.txt
log, format-patch: parsing uses OPT__QUIET
authorStefan Beller <stefanbeller@googlemail.com>
Sat, 3 Aug 2013 11:51:20 +0000 (13:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Aug 2013 18:32:19 +0000 (11:32 -0700)
commitb7df098c6db078f60ac8f8e07ac0c5e320b7a86c
tree5ba4eefeab1aaef8d159361bf4fa02982987e8b7
parentd5d09d475440c24016ec52a0bcc8477d9a7b5c71
log, format-patch: parsing uses OPT__QUIET

This patch allows users to use the short form -q on
log and format-patch, which was non possible before.

Also the documentation of format-patch mentions -q now.

The documentation of log doesn't even talk about --quiet, so I'll leave
that for more experienced git contributors. ;)
It doesn't seem to change the default behavior, but in combination
with --stat for example it suppresses the actual stats.
however the only relevant code in log is
if (quiet)
rev->diffopt.output_format |= DIFF_FORMAT_NO_OUTPUT;

Signed-off-by: Stefan Beller <stefanbeller@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-format-patch.txt
builtin/log.c