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

Re: git svn .git/svn/*/index files taking up huge amounts of disk space

From
PHPeter Harris <git@peter.is-a-geek.org>
Date
Jul 18, 2009, 18:10 UTC
Message-ID
<eaa105840907181110q416a9dd0j989a63eedd9b15ca@mail.gmail.com>
In-Reply-To
<CFF1FF99-9237-4C89-BB2D-66F82CF683B1@gmail.com>
On Sat, Jul 18, 2009 at 10:58 AM, Robert Zeh wrote:
> What are the index files under .git/svn used for?  Am I doing anything
> wrong?  Can the index files under .git/svn be safely removed?  My brief look
> at git-svn.perl makes me think that they are temporary, but I'm not sure.

The index files are used to keep track of the commits that came from svn, so that git-svn rebase knows where to start from (either when committing or when doing a fetch from svn).

Unless you used the --no-metadata switch, the files under .git/svn can be safely removed (at the cost of performance when operating a branch that has had its index removed).

Peter Harris
Previous: Robert Zeh
Message 2 of 2 in “git svn .git/svn/*/index files taking up huge amounts of disk space”
  1. Robert ZehJul 18, 2009
  2. Peter HarrisJul 18, 2009

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.