Re: [PATCH] Do not verify filenames in a bare repository
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 20, 2007, 01:05 UTC
- Message-ID
- <Pine.LNX.4.63.0701200205011.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- 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