我在 ownCloud 上有一些个人 git 存储库。我可以通过访问ownClouds webdav url从2台ubuntu机器和一台Windows PC克隆它:http://myserver.a/remote.php/webdav/repos/repo.git
最近我使用 git 版本 1.8.1.5 安装了 Arch Linux,但它失败并显示以下错误消息:致命:http://myserver.a/remote.php/webdav/repos/repo.git/info/refs?service=git-upload -pack not found:你在服务器上运行过 git update-server-info 吗?
我确实添加了更新后挂钩,最终它可以在我的其他机器上运行。当 git 请求 ...info/refs?service... 时,服务器 error.log 显示 404
ubuntu git 1.7 从服务器请求相同的 url。但是在收到错误代码 404 后,它会请求 .../info/refs HTTP/1.1 并以代码 200 成功。
那么为什么较新的 git 会失败,我该如何解决呢?