リモート git ホスティング サービス (Svnrepository.com) を使用しています。クライアントとして git 1.7.x を使用している間は git リポジトリに正常にアクセスできますが、クライアントを git 1.8.x にアップグレードするとすぐに、プッシュできなくなります:プッシュがハングします。ホスティング サービスのサポートは、バージョン 1.8 をサポートしない古い git サーバーを使用しているためであると主張しています。
- 古いgitサーバーでgit 1.8をクライアントとして使用するにはどうすればよいですか?
- 回避策はありますか?
- 正確な非互換性が何であるかを誰かが知っていますか?
- サポートからの声明はもっともらしく聞こえますか? 何らかの理由で、git には優れた後方互換性と前方互換性があり、アップグレードによって git が壊れることを恐れる理由はないと思っていました。
- 1.7 から 1.8 への移行で導入された、これを引き起こす既知の非互換性はありますか?
リクエストにより、ここに のトレースがありGIT_TRACE=1
ます。実行中にハングするようgit-http-push
です:
$ GIT_TRACE=1 git push -v
trace: built-in: git 'push' '-v'
Pushing to https://secure2.svnrepository.com/redacted/redacted/
trace: run_command: 'git-remote-https' 'origin' 'https://secure2.svnrepository.com/redacted/redacted/'
trace: run_command: 'http-push' '--helper-status' '--verbose' 'https://secure2.svnrepository.com/redacted/redacted/' 'refs/heads/master:refs/heads/master'
trace: exec: 'git' 'http-push' '--helper-status' '--verbose' 'https://secure2.svnrepository.com/redacted/redacted/' 'refs/heads/master:refs/heads/master'
trace: exec: 'git-http-push' '--helper-status' '--verbose' 'https://secure2.svnrepository.com/redacted/redacted/' 'refs/heads/master:refs/heads/master'
trace: run_command: 'git-http-push' '--helper-status' '--verbose' 'https://secure2.svnrepository.com/redacted/redacted/' 'refs/heads/master:refs/heads/master'
出力の最後の行の後にハングします。(必要に応じて、と の両方を設定したトレースを参照することもできます。)GIT_TRACE=1
GIT_CURL_VERBOSE=1