From: Johannes Schindelin Date: Sat, 20 Jan 2007 01:05:58 GMT Subject: Re: [PATCH] Do not verify filenames in a bare repository Message-ID: In-Reply-To: <7vmz4ebjoc.fsf@assigned-by-dhcp.cox.net> Hi, On Fri, 19 Jan 2007, Junio C Hamano wrote: > This feels very sane. Thanks. I changed my mind. A saner check would be if the current directory starts with GIT_DIR, so that even (cd .git; git show HEAD) still works. > A handful tests to make sure it catches the cases wants to catch and it > does not hiccup with the cases it shouldn't catch would be appropriate, > though. Sure. I'll resend in a few minutes. Ciao, Dscho