From: Steven Grimm <koreth@midwinter.com>
To: Peter Baumann <waste.manager@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 2/2] Run garbage collection with loose object pruning after svn dcommit
Date: Fri, 05 Oct 2007 09:12:05 -0700 [thread overview]
Message-ID: <47066255.6080500@midwinter.com> (raw)
In-Reply-To: <20071005082110.GA4797@xp.machine.xx>
Peter Baumann wrote:
> I don't like the automatic prune. What if someone has other objects in
> there which shouldn't be pruned? Making git svn dcommit doing the prune
> would be at least suprising, because how is one supposed to know that
> doing a commit into svn will prune all your precious objects?
>
"git commit" already does garbage collection, so we've already set a
precedent for a commit operation also doing some cleanup at the end.
However, you're correct that this cleanup behavior (and the way to turn
it off) should be documented so that there's some way to know about it.
Doc patch forthcoming.
> Sure, I can unterstand from where you are coming from, but I'd prefere
> if this could be specified on a case by case basis, e.g. from the
> cmdline or as a config option.
>
This code (by virtue of only doing the prune if the "too many loose
objects" test succeeds) will obey the existing gc.auto config option. So
it's already possible to turn off as is. I'll note that in the doc patch.
-Steve
next prev parent reply other threads:[~2007-10-05 16:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-05 0:15 [PATCH 2/2] Run garbage collection with loose object pruning after svn dcommit Steven Grimm
2007-10-05 8:04 ` Andreas Ericsson
2007-10-05 8:27 ` Johannes Schindelin
2007-10-05 8:21 ` Peter Baumann
2007-10-05 16:12 ` Steven Grimm [this message]
2007-10-05 16:15 ` [PATCH 3/2] Document the fact that git-svn now runs git-gc Steven Grimm
2007-10-05 16:49 ` [PATCH 2/2] Run garbage collection with loose object pruning after svn dcommit Peter Baumann
2007-10-05 17:48 ` Steven Grimm
2007-10-06 8:15 ` Peter Baumann
2007-10-05 23:54 ` Eric Wong
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=47066255.6080500@midwinter.com \
--to=koreth@midwinter.com \
--cc=git@vger.kernel.org \
--cc=waste.manager@gmx.de \
/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).