Re: [PATCH 5/8] builtin/commit-graph.c: dereference tags in builtin
- From
Derrick Stolee <stolee@gmail.com>
- Date
- May 5, 2020, 12:01 UTC
- Message-ID
- <1b0bf610-640e-de4e-ab31-ca8719d533f7@gmail.com>
- In-Reply-To
- <513a634f14e90ec0c2e80a6aaf8cb66bbedf8966.1588641176.git.me@ttaylorr.com>
On 5/4/2020 9:13 PM, Taylor Blau wrote:
Show 7 quoted lines
> @@ -228,18 +240,25 @@ static int graph_write(int argc, const char **argv)
> if (opts.stdin_commits) {
> oidset_init(&commits, 0);
> flags |= COMMIT_GRAPH_WRITE_CHECK_OIDS;
> + if (opts.progress)
> + progress = start_delayed_progress(
> + _("Analyzing commits from stdin"), 0);The code functions as you intend and is an improvement. Similar to my earlier suggestion to use something like "Collecting referenced commits" for the --reachable case, perhaps this could be "Collecting commits from input"?
Thanks, -Stolee