diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-01-03 02:19:05 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-04 04:05:44 +0400 |
commit | 7952ea66e72d1129afbebcdde11dcbeecd92698a (patch) | |
tree | 1db0ad40259ec39c8f85ba4a20a394f64fb60201 /builtin | |
parent | 4aad08e061df699b49e24c4d34698d734473fb66 (diff) |
format-patch: give --reroll-count a short synonym -v
Accept "-v" as a synonym to "--reroll-count", so that users can say
"git format-patch -v4 master", instead of having to fully spell it
out as "git format-patch --reroll-count=4 master".
As I do not think of a reason why users would want to tell the
command to be "verbose", I think this should be OK.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/log.c b/builtin/log.c index e101498faa..08e8a9d2a3 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -1081,7 +1081,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix) N_("use <sfx> instead of '.patch'")), OPT_INTEGER(0, "start-number", &start_number, N_("start numbering patches at <n> instead of 1")), - OPT_INTEGER(0, "reroll-count", &reroll_count, + OPT_INTEGER('v', "reroll-count", &reroll_count, N_("mark the series as Nth re-roll")), { OPTION_CALLBACK, 0, "subject-prefix", &rev, N_("prefix"), N_("Use [<prefix>] instead of [PATCH]"), |