From: Linus Torvalds Date: Sun, 18 Sep 2005 17:00:28 GMT Subject: Re: Fix archive-destroying "git repack -a -d" bug Message-ID: In-Reply-To: <20050918031837.GB23405@redhat.com> On Sat, 17 Sep 2005, Dave Jones wrote: > > Hmm, I'm sure I've done this several times in my x86info git repo > (http://www.codemonkey.org.uk/projects/x86info/x86info.git) > > It seems to look ok to git-fsck-cache though. Would that pick up > any breakage if present ? It will literally remove every single object in the system, so yes, there would be major breakage. Even "git log" won't work. Note: this only happens if you haven't done _anything_ in between repacks. If you commit anything or do anything else to cause the list of objects to change, "git repack" is fine. Linus