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

[PATCH 3/2] Document the fact that git-svn now runs git-gc

From
Steven Grimm <koreth@midwinter.com>
Date
Oct 5, 2007, 16:15 UTC
Message-ID
<20071005161522.GA12545@midwinter.com>
In-Reply-To
<47066255.6080500@midwinter.com>
Signed-off-by: Steven Grimm <koreth@midwinter.com>
---
 Documentation/git-svn.txt |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
index e157c6a..26f0f39 100644
--- a/Documentation/git-svn.txt
+++ b/Documentation/git-svn.txt
@@ -125,7 +125,15 @@ and have no uncommitted changes.
 	alternative to HEAD.
 	This is advantageous over 'set-tree' (below) because it produces
 	cleaner, more linear history.
-+
+
+When the commit is finished, gitlink:git-gc[1] is run with the
+`--prune` and `--auto` options to clean up the git object database,
+including removing old unreachable objects (some of which are
+created by the process of committing to SVN.) Set the `gc.auto`
+config option to 0 if you don't want your repository to be cleaned,
+e.g., because you are intentionally keeping unreachable objects in
+your repository.
+
 --no-rebase;;
 	After committing, do not rebase or reset.
 --
-- 
1.5.3.4.203.gcc61a
Previous: Steven GrimmNext: Peter Baumann
Message 6 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.