Re: git doesn't append ".git" to url WAS [PATCH 0/3] http*: refactor fetching code (v2)
- From
Tay Ray Chuan <rctay89@gmail.com>
- Date
- May 21, 2009, 14:17 UTC
- Message-ID
- <be6fef0d0905210717j174499f5k4740dc2f821bec62@mail.gmail.com>
Hi,
On Wed, May 20, 2009 at 10:03 PM, Tony Finch <dot@dotat.at> wrote:
> On this topic, some of my friends have complained that git doesn't > automatically try appending .git to a URL when it fails to find a > bare git repository on the server.
are your friends hosting non-bare repositories directly (with checked-out copies)? In the first place, this isn't a good idea; please refer to
http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#def_bare_repository
and
http://kerneltrap.org/mailarchive/git/2009/1/30/4852194
for reasons why.
-- Cheers, Ray Chuan