Re: git svn .git/svn/*/index files taking up huge amounts of disk space
- From
- Peter 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