看似随机,我们的本地 repos 无法再从我们的 Bonobo 服务器获取。当我们尝试在本地获取时,它发生在我们最大的远程仓库(大约 4GB)给不同的人和不同的时间。起初它只是每隔几个月,但现在它的频率越来越高,并且今天同时发生在许多本地回购中。现在我们正在通过移动一个工作.git
文件夹来解决它。
它快速打印一些POST git-upload-pack (gzip X to Y bytes)
,然后挂起半小时到一个小时。
如果我从对象目录中删除一个包文件,它会抱怨丢失的东西然后开始正确获取,但仅用于那个git-upload-pack
.
我试过了repack
,gc
各种方法都没有效果。我尝试将服务器和客户端上的 git 从 1.8.4 升级到 1.9。
clone
ing 有同样的问题,但升级 Bonobo 解决了这个问题,即使它是相同版本的 git。昨天一个新克隆的 repo 正在工作,但今天它有同样的问题。
有趣的是,我们有很多 dll 和 pdb。它已经使用了一年,是从带有 git-svn 的 SVN 存储库中导入的。
这是痕迹
$ GIT_TRACE=1 git fetch -v
trace: built-in: git 'fetch' '-v'
trace: run_command: 'git-remote-https' 'origin' 'https://xxx
/yyy.git'
trace: run_command: '"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore
/git-credential-winstore.exe" get'
trace: run_command: '"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore
/git-credential-winstore.exe" store'
trace: run_command: 'rev-list' '--objects' '--stdin' '--not' '--all' '--quiet'
trace: run_command: 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--in
clude-tag' '--thin' 'https://xxx/yyy.git/'
trace: built-in: git 'fetch-pack' '--stateless-rpc' '--stdin' '--lock-pack' '--i
nclude-tag' '--thin' 'https://xxx/yyy.git/'
POST git-upload-pack (gzip 2057 to 1096 bytes)
POST git-upload-pack (gzip 2307 to 1222 bytes)
POST git-upload-pack (gzip 3657 to 1914 bytes)
POST git-upload-pack (gzip 6207 to 3192 bytes)
POST git-upload-pack (gzip 12607 to 6374 bytes)
谷歌搜索显示有些人有这个问题,但没有提到(升级倭黑猩猩等)。