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

Re: ok for git to delete temporary packs on write error?

From
Nicolas Pitre <nico@cam.org>
Date
Nov 28, 2007, 15:01 UTC
Message-ID
<alpine.LFD.0.99999.0711281000590.9605@xanadu.home>
In-Reply-To
<e1dab3980711272342x7afad721m113fe21f6879a886@mail.gmail.com>
On Wed, 28 Nov 2007, David Tweed wrote:
Show 12 quoted lines
> Hi, I'd like to check if there's any reason in the overall design of
> git which would make deleting tmp_pack's that have suffered
> write errors a bad idea? (Before I look further into this I may be missing
> a good reason why they shouldn't be auto-deleted.)
> 
> My encounter with this comes from using an almost full
> usbstick which I discovered when I was poking around
> for other reasons several partial packs from occasions
> (separated by weeks) where gc failed. On each failure
> I'd removed stuff from the drive to clear space and done
> a successful gc but hadn't thought to
> check below .git for removable stuff so they'd just accumulated.
I'd suggest they get removed a part of the prune command.
Nicolas
Previous: David TweedNext: David Tweed
Message 2 of 3 in “ok for git to delete temporary packs on write error?”
  1. David TweedNov 28, 2007
  2. Nicolas PitreNov 28, 2007
  3. David TweedNov 28, 2007

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.