mirror of
https://github.com/git/git.git
synced 2026-01-09 09:36:36 +00:00
Merge branch 'ah/log-no-graph'
"git log --graph --graph" used to leak a graph structure, and there was no way to countermand "--graph" that appear earlier on the command line. A "--no-graph" option has been added and resource leakage has been plugged. * ah/log-no-graph: log: add a --no-graph option log: fix memory leak if --graph is passed multiple times
This commit is contained in:
@@ -377,6 +377,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
|
||||
|
||||
Reference in New Issue
Block a user