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

Cleaning up files reported by size-garbage

From
Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Date
Aug 27, 2020, 15:55 UTC
Message-ID
<20200827155529.3vtmrec7nn3mqgpl@chatter.i7.local>
Hello:
Running git count-objects -v reports garbage files:

$ git count-objects -v warning: garbage found: ./objects/pack/tmp_pack_XSv8MO warning: garbage found: ./objects/pack/tmp_pack_2uOuMg warning: garbage found: ./objects/pack/tmp_pack_KzP1ja count: 19 size: 84 in-pack: 172456 packs: 6 size-pack: 63907 prune-packable: 0 garbage: 3 size-garbage: 1911

Is there a way to tell git to clean those up? I'm not finding anything and would rather avoid having to parse stderr in these cases.

Best, -K

Next: Jeff King
Message 1 of 3 in “Cleaning up files reported by size-garbage”
  1. Konstantin RyabitsevAug 27, 2020
  2. Jeff KingAug 27, 2020
  3. Konstantin RyabitsevAug 27, 2020

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.