"git clone" can't clone a gitweb URL

From: Liu Yubao <yubao.liu@gmail.com>
Date: 2006-11-06 19:32:04
$ 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
server.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Nov 06 19:33:15 2006

This archive was generated by hypermail 2.1.8 : 2006-11-06 19:34:18 EST