From: Jeff King Date: Thu, 16 Feb 2012 02:30:27 GMT Subject: Re: importance of .git extension for bare repos Message-ID: <20120216023027.GA26518@sigill.intra.peff.net> In-Reply-To: On Thu, Feb 16, 2012 at 09:38:08AM +0800, Tay Ray Chuan wrote: > I don't believe its significant to git itself, it's just a convention > for us humans. That's not entirely true. If you try to access a repository by name (e.g., "git clone foo", "git fetch foo"), git will look for "foo.git". This magic lookup works for local repositories, and for remote repositories served over ssh or by git-daemon. I think it should also work for smart-http, but I didn't check. It doesn't work for dumb http (because it would involve making several exploratory http requests). -Peff