From: Linus Torvalds Date: Sat, 29 Jul 2006 23:48:39 GMT Subject: Re: git prune pig slow Message-ID: In-Reply-To: <20060729224106.12312.qmail@science.horizon.com> 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