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
Steven Grimm <koreth@midwinter.com>
Date
Oct 5, 2007, 17:48 UTC
Message-ID
<470678ED.8050407@midwinter.com>
In-Reply-To
<20071005164912.GE4797@xp.machine.xx>
Peter Baumann wrote:
Show 5 quoted lines
> 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.
>   

Does anyone run "git svn dcommit" from a shared repository? That is the only command that will trigger this code path.

Given that you lose all the svn metadata if you do "git clone" (or "git clone -s") on a git-svn-managed repository, it's not clear to me that anyone would ever be bitten by this. Counterexamples welcome, of course.

How would you feel about a separate config option to specifically enable auto-pruning, and having "git svn clone" set that option by default? Presumably anyone who is setting up a shared git-svn repository will be up to the task of disabling the option.

-Steve
Previous: Peter BaumannNext: Peter Baumann
Message 8 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.