summaryrefslogtreecommitdiff
path: root/builtin/shortlog.c
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2022-02-11 09:36:25 -0700
committerJunio C Hamano <gitster@pobox.com>2022-02-11 10:06:41 -0800
commit087c745833be1edd3b3e4d8ea5d8b1a09fc6c245 (patch)
treee13da31d63bf326e79cf00a08e12375a69f4d12e /builtin/shortlog.c
parentdccf6c16f1cee485f05ef42ba67a9309c358a78d (diff)
downloadgit-087c745833be1edd3b3e4d8ea5d8b1a09fc6c245.tar.gz
log: add a --no-graph option
It's useful to be able to countermand a previous --graph option, for example if `git log --graph` is run via an alias. Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/shortlog.c')
-rw-r--r--builtin/shortlog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/shortlog.c b/builtin/shortlog.c
index e7f7af5de3..228d782754 100644
--- a/builtin/shortlog.c
+++ b/builtin/shortlog.c
@@ -388,6 +388,7 @@ int cmd_shortlog(int argc, const char **argv, const char *prefix)
parse_revision_opt(&rev, &ctx, options, shortlog_usage);
}
parse_done:
+ revision_opts_finish(&rev);
argc = parse_options_end(&ctx);
if (nongit && argc > 1) {