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

Git pack - repo size doubled

From
MMaaartin <grajcar1@seznam.cz>
Date
Feb 24, 2011, 08:19 UTC
Message-ID
<ik549p$pq8$1@dough.gmane.org>
I'm using git version 1.7.3.3 under cygwin (W XP64). When I tried
git repack -A -d --depth=255 --window=255 --window-memory=4g
I've got the message

rm: cannot remove `pack-c75642be5314b1a98ddfcf0d51ac838db4af75ad.pack': Device or resource busy

It seems like the file hadn't got closed. The non-deletion of the file roughly doubles the repo size (134070 KiB instead of 67470 KiB).

- Can I manually remove the file?
- If I do it, does "git fsck" suffice to make sure, everything's all right?
- Would creating of multiple packs work better? What "--max-pack-size"
would you recommend?
Next: Jeff King
Message 1 of 3 in “Git pack - repo size doubled”
  1. MaaartinFeb 24, 2011
  2. Jeff KingFeb 24, 2011
  3. Maaartin-1Feb 24, 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.