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

Re: [PATCH 2/2] Run garbage collection with loose object pruning after svn dcommit

From
PBPeter Baumann <waste.manager@gmx.de>
Date
Oct 5, 2007, 16:49 UTC
Message-ID
<20071005164912.GE4797@xp.machine.xx>
In-Reply-To
<47066255.6080500@midwinter.com>
On Fri, Oct 05, 2007 at 09:12:05AM -0700, Steven Grimm wrote:
Show 13 quoted lines
> 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.
>

That's new to me. Glancing over git-commit.sh, I could only find a 'git-gc --auto', but no prune. I am not against doing a 'git gc --auto', but I am against the --prune, because this could make shared repositories unfunctional.

-Peter
Previous: Steven GrimmNext: Steven Grimm
Message 7 of 10 in “Run garbage collection with loose object pruning after svn dcommit”
  1. 2/2 Run garbage collection with loose object pruning after svn dcommitSteven Grimm, Oct 5, 2007
  2. Andreas EricssonOct 5, 2007
  3. Johannes SchindelinOct 5, 2007
  4. Peter BaumannOct 5, 2007
  5. Steven GrimmOct 5, 2007
  6. 3/2 Document the fact that git-svn now runs git-gcSteven Grimm, Oct 5, 2007
  7. Peter BaumannOct 5, 2007
  8. Steven GrimmOct 5, 2007
  9. Peter BaumannOct 6, 2007
  10. Eric WongOct 5, 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.