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

False alarms from git-fsck(1) about missing commits/trees pushed after the run started

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Feb 28, 2011, 12:38 UTC
Message-ID
<AANLkTimrgepw4r=z5na-d74XY67QuRRgFepWZh87xrCq@mail.gmail.com>

I ran `git-fsck --full --verbose` on a bare Git repository which users push to (over ssh).

It reports things like this:
    missing commit c7836745b13ce838439b3705d3c5c93bc0add6a6
    missing tree ef59d2bee486b6af5ae36eb9ff2e9de0d52f37ab
    missing commit 786315c755ac91d3a1ffc3d92679dda961035617

But actually these things aren't missing. They were just pushed to the repo after the fsck run started.

Is this a known limitation of git-fsck, is it documented anywhere? If it's not supposed to do this maybe there's a race condition somewhere in it.

Next: Junio C Hamano
Message 1 of 2 in “False alarms from git-fsck(1) about missing commits/trees pushed after the run started”
  1. Ævar Arnfjörð BjarmasonFeb 28, 2011
  2. Junio C HamanoFeb 28, 2011

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.