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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html