git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Feature request : "git fsck" should show the percentage of completeness in step "Checking connectivity:"

From
Stefan Beller <sbeller@google.com>
Date
Jul 2, 2018, 19:59 UTC
Message-ID
<CAGZ79kYoRziU12hsU4ST90JyxTvMqXSxq-eHnn6jGndzQ_fZ6g@mail.gmail.com>
In-Reply-To
<3d6b38a8-7dbe-0633-5c54-603161ee3fd4@gmx.de>
On Sun, Jul 1, 2018 at 9:22 AM Toralf Förster <toralf.foerster@gmx.de> wrote:
>
> as "git fsck" does it already for "Checking objects:"
>
> Is this a valid feature request?

Yes it is. However it is most likely to have the feature incorporated if it comes in form of a patch.

So clone one of the git.git repositories found at https://git-blame.blogspot.com/p/git-public-repositories.html and have a look builtin/fsck.c (Search for "Checking connectivity") as well as how the progress.{h, c} for its API if needed.

I am not sure if this is an easy thing to add, as knowing the number of objects before the walk might be hard. How does "Checking objects" solve that issue?

See Documentation/SubmittingPatches once you have some code that can be a starter of a discussion. :)

Thanks, Stefan

Previous: Toralf FörsterNext: Jeff King
Message 2 of 3 in “Feature request : "git fsck" should show the percentage of completeness in step "Checking connectivity:"”
  1. Toralf FörsterJul 1, 2018
  2. Stefan BellerJul 2, 2018
  3. Jeff KingJul 2, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.