git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nicolas Pitre <nico@cam.org>
To: David Tweed <david.tweed@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: ok for git to delete temporary packs on write error?
Date: Wed, 28 Nov 2007 10:01:42 -0500 (EST)	[thread overview]
Message-ID: <alpine.LFD.0.99999.0711281000590.9605@xanadu.home> (raw)
In-Reply-To: <e1dab3980711272342x7afad721m113fe21f6879a886@mail.gmail.com>

On Wed, 28 Nov 2007, David Tweed wrote:

> 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

  reply	other threads:[~2007-11-28 15:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28  7:42 ok for git to delete temporary packs on write error? David Tweed
2007-11-28 15:01 ` Nicolas Pitre [this message]
2007-11-28 15:48   ` David Tweed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.0.99999.0711281000590.9605@xanadu.home \
    --to=nico@cam.org \
    --cc=david.tweed@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).