git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tay Ray Chuan <rctay89@gmail.com>
To: Tony Finch <dot@dotat.at>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: git doesn't append ".git" to url WAS [PATCH 0/3] http*: refactor  fetching code (v2)
Date: Thu, 21 May 2009 23:39:15 +0800	[thread overview]
Message-ID: <be6fef0d0905210839i1789dc33uc760ab7779e68b51@mail.gmail.com> (raw)
In-Reply-To: <alpine.LSU.2.00.0905211518430.23333@hermes-2.csi.cam.ac.uk>

Hi,

On Thu, May 21, 2009 at 10:29 PM, Tony Finch <dot@dotat.at> wrote:
> ...Git's error message is misleading: the problem is
> nothing to do with running git update-server-info (see below).

you're right. Perhaps git should check if the repo (on http://) exists
first, before printing that message.

> Its
> behaviour is inconsistent: git retries after appending .git if you are
> fetching from a local repository or ssh:// or git:// URLs but not for
> http:// URLs.

that's true too.

> Actually maybe there's a third bug: it says it has initialized
> a repository but it removes it again if the clone fails.

well, if the clone fails, then the cloned repo would be in an
incomplete state, so removing it isn't that bad an idea. Perhaps an
option could be made to prevents clone from doing this, so that one
could try restarting the clone.

-- 
Cheers,
Ray Chuan

      reply	other threads:[~2009-05-21 15:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-21 14:17 git doesn't append ".git" to url WAS [PATCH 0/3] http*: refactor fetching code (v2) Tay Ray Chuan
2009-05-21 14:29 ` Tony Finch
2009-05-21 15:39   ` Tay Ray Chuan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=be6fef0d0905210839i1789dc33uc760ab7779e68b51@mail.gmail.com \
    --to=rctay89@gmail.com \
    --cc=dot@dotat.at \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).