From: Phil Hord Date: Thu, 06 Oct 2011 16:48:14 GMT Subject: Re: Git Bug report Message-ID: In-Reply-To: <20111006010940.GR2208@goldbirke> On 10/5/11, SZEDER Gábor wrote: > On Wed, Oct 05, 2011 at 05:44:54PM -0700, Junio C Hamano wrote: >> SZEDER Gábor writes: >> >> > And what about unreadable .git files? >> >> Having then inside a working tree is so sick that I do not think it >> deserves consideration. > > I'm not sure why is this any different than having a .git directory > that is not a repository inside a working tree. What should happen here? Ignore it and keep searching? Or fail? I just added some common gitfile detection code and I noticed that the oddball case now is the one that dies on error rather than continuing to search for alternate explanations. I left the oddball behavior assuming it is desireable, but now you have me rethinking it. Phil