diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2022-02-11 17:36:25 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-11 19:06:41 +0100 |
commit | 087c745833be1edd3b3e4d8ea5d8b1a09fc6c245 (patch) | |
tree | e13da31d63bf326e79cf00a08e12375a69f4d12e /revision.h | |
parent | log: fix memory leak if --graph is passed multiple times (diff) | |
download | git-087c745833be1edd3b3e4d8ea5d8b1a09fc6c245.tar.xz git-087c745833be1edd3b3e4d8ea5d8b1a09fc6c245.zip |
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 'revision.h')
-rw-r--r-- | revision.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h index 3f66147bfd..5a507db202 100644 --- a/revision.h +++ b/revision.h @@ -372,6 +372,7 @@ void parse_revision_opt(struct rev_info *revs, struct parse_opt_ctx_t *ctx, #define REVARG_COMMITTISH 02 int handle_revision_arg(const char *arg, struct rev_info *revs, int flags, unsigned revarg_opt); +void revision_opts_finish(struct rev_info *revs); /** * Reset the flags used by the revision walking api. You can use this to do |