{"thread":{"id":"43477","subject":"\"git clone\" can't clone a gitweb URL","startedAt":"2006-11-06T08:32:04Z","lastAt":"2006-11-06T08:32:04Z","messageCount":1,"participants":["Liu Yubao"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"295013","messageId":"454EF304.4030304@gmail.com","threadId":"43477","inReplyTo":null,"subject":"\"git clone\" can't clone a gitweb URL","fromName":"Liu Yubao","fromEmail":"yubao.liu@gmail.com","sentAt":"2006-11-06T08:32:04Z","receivedAt":"2006-11-06T08:32:04Z","isPatch":false,"sender":{"key":"yubao.liu@gmail.com","avatar":null},"body":"$ git clone http://repo.or.cz/w/i18n.git\nerror: Can't lock ref\nrm: cannot remove directory `i18n/.git/clone-tmp': Directory not emp\nty\n\nAt last I found the URL was a gitweb URL not for mirroring.\n\nIt's better git provides clear information like \"This is maybe a\ngitweb URL, view it in web browser for more information\", or\ngitweb can send a redirection response to git client. Even more,\ngit-daemon also can send redirection response to tell git client\nthat the service is offline temporarily and it can use an alternative\n"}]}