Re: git prune pig slow

From: Linus Torvalds <torvalds@osdl.org>
Date: 2006-07-30 09:48:39
On Sat, 29 Jul 2006, linux@horizon.com wrote:
> 
> No, that's dangerous too.  The index file is considered part of the root
> set for git-fsck-objects, but not for git-repack.

Indeed.

Although at least you won't lose any history - at worst you'll have to 
basically do a "git reset HEAD" to make things right again.

I was careful when I wrote the new git-prune to take the index into 
account, but I'd forgotten about it wrt the "git repack -a -d" suggestion.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sun Jul 30 09:49:53 2006

This archive was generated by hypermail 2.1.8 : 2006-07-30 09:50:29 EST