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

Re: [GSoC PATCH] fsck: report the real object count in the connectivity message

From
LBLaveesh Bansal <laveeshb@laveeshbansal.com>
Date
Nov 12, 2026, 02:55 UTC
Message-ID
<20261112025559.83265-1-laveeshb@laveeshbansal.com>
In-Reply-To
<20261020102134.42151-1-aniketgupta3001@gmail.com>

Thanks for the patch. Looks good to me. I ran t1450 with and without the patch: the new tests pass with it and fail without.

One thing about the title:
> fsck: report the real object count in the connectivity message

In a partial clone the number counts blobs that were never downloaded. Setup:

    git init -q -b main src
    git -C src config uploadpack.allowFilter true
    for i in 1 2 3
    do
    	echo $i >src/f$i
    	git -C src add f$i
    	git -C src commit -qm c$i
    done
    git clone -q --no-checkout --filter=blob:none file://$PWD/src pc
Then:
    $ git -C pc fsck --verbose 2>&1 | grep connectivity
    Checking connectivity (9 objects)
    $ git -C pc cat-file --batch-all-objects --batch-check | wc -l
    warning: This repository uses promisor remotes. Some objects may not be loaded.
    6
Would "report the number of objects checked" fit the title better?
Previous: Aniket GuptaNext: Aniket Gupta
Message 2 of 3 in “fsck: report the real object count in the connectivity message”
  1. fsck: report the real object count in the connectivity messageAniket Gupta, Oct 20, 2026
  2. Laveesh BansalNov 12, 2026
  3. Aniket GuptaNov 12, 2026

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.