From: Derrick Stolee <derrickstolee@github.com>
To: Taylor Blau <me@ttaylorr.com>, git@vger.kernel.org
Cc: Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH 0/6] fsck: squelch progress output with `--no-progress`
Date: Mon, 10 Jul 2023 09:55:26 -0600 [thread overview]
Message-ID: <21f0945a-c51d-304e-82ec-9f6253818668@github.com> (raw)
In-Reply-To: <cover.1688776280.git.me@ttaylorr.com>
On 7/7/2023 6:31 PM, Taylor Blau wrote:
>This short series addresses a pair of issues where the `commit-graph
>verify` and `multi-pack-index verify` steps of `git fsck` produce output
>regardless of whether or not `fsck`was invoked with the
>`--no-progress`option or not.
>
>The first two patches address the commit-graph and MIDX issues
>respectively. The final four patches further clean up the output of
>`git commit-graph verify --progress`when verifying multi-layer graphs
>to produce a single progress meter instead of one per graph layer.
>
>Before, the output of `git commit-graph verify`on a repository with a
>commit-graph chain with two layers looked like:
>
> $ git.compile commit-graph verify
> Verifying commits in commit graph: 100% (4356/4356), done.
> Verifying commits in commit graph: 100% (131912/131912), done.
>
>After this patch series, the output instead looks as follows:
>
> $ git.compile commit-graph verify
> Verifying commits in commit graph: 100% (136268/136268), done.
Thanks for noticing and fixing these issues. The patches are structured
well and make the refactoring easy to follow. This is especially tricky
when swapping from recursive to iterative, but the patches break this
down nicely.
v1 LGTM.
Thanks,
-Stolee
prev parent reply other threads:[~2023-07-10 15:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-08 0:31 [PATCH 0/6] fsck: squelch progress output with `--no-progress` Taylor Blau
2023-07-08 0:31 ` [PATCH 1/6] fsck: suppress commit-graph " Taylor Blau
2023-07-08 0:31 ` [PATCH 2/6] fsck: suppress MIDX " Taylor Blau
2023-07-08 0:31 ` [PATCH 3/6] commit-graph.c: extract `verify_one_commit_graph()` Taylor Blau
2023-07-08 0:31 ` [PATCH 4/6] commit-graph.c: iteratively verify commit-graph chains Taylor Blau
2023-07-08 0:31 ` [PATCH 5/6] commit-graph.c: pass progress to `verify_one_commit_graph()` Taylor Blau
2023-07-08 0:31 ` [PATCH 6/6] commit-graph.c: avoid duplicated progress output during `verify` Taylor Blau
2023-07-10 15:55 ` Derrick Stolee [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21f0945a-c51d-304e-82ec-9f6253818668@github.com \
--to=derrickstolee@github.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=me@ttaylorr.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).