From: Junio C Hamano Date: Sun, 01 Feb 2009 00:57:10 GMT Subject: Re: [PATCH 1/2] fsck: HEAD is part of refs Message-ID: <7vhc3f2cux.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20090201064520.6117@nanako3.lavabit.com> Nanako Shiraishi writes: > Quoting Junio C Hamano : > >> By default we looked at all refs but not HEAD. The only thing that >> made fsck not lose sight of comments that are only reachable from a >> detached HEAD was the reflog for the HEAD. >> >> This fixes it, with a new test. >> >> Signed-off-by: Junio C Hamano > > I think you meant to say commits, not comments. I'll amend when I fix the broken test J6t pointed out.