From: Liu Yubao <yubao.liu@gmail.com>
To: git@vger.kernel.org
Subject: "git clone" can't clone a gitweb URL
Date: Mon, 06 Nov 2006 16:32:04 +0800 [thread overview]
Message-ID: <454EF304.4030304@gmail.com> (raw)
$ git clone http://repo.or.cz/w/i18n.git
error: Can't lock ref
rm: cannot remove directory `i18n/.git/clone-tmp': Directory not emp
ty
At last I found the URL was a gitweb URL not for mirroring.
It's better git provides clear information like "This is maybe a
gitweb URL, view it in web browser for more information", or
gitweb can send a redirection response to git client. Even more,
git-daemon also can send redirection response to tell git client
that the service is offline temporarily and it can use an alternative
reply other threads:[~2006-11-06 8:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=454EF304.4030304@gmail.com \
--to=yubao.liu@gmail.com \
--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).