2013-10-22 24 views

答えて

12

Windowsでmsysgitを使用している場合は、regression on msysgit1.8.4 for git-svnがあります。
これは、bashシェルではなく、CMDで実行されたときに表示されるように見えるので、同じコマンドをシェルで試すことができます。

SubGitこれは、svnからgit repoに移行するためのはるかに完全で堅牢なツールです。 Listen to his author at GitMinutes #22


回帰は、固定(現在 - 2013年10月 - 'next' branch of the git repo中)であることを進行中ある Bas Bossinkin the commentsを確認:

I just verified that it is fixed in git 1.8.5.2.msysgit.0

jiangxinにより、commit 7fbd42を参照してください。

Tvangeste found that the " relative_path " function could not work properly on Windows if "in" and "prefix" have DOS drive prefix (such as "C:/windows"). ($gmane/234434)

E.g., When execute: test-path-utils , relative_path "C:/a/b" "D:/x/y" should return " C:/a/b ", but returns " ../../C:/a/b ", which is wrong.

So make relative_path honor DOS drive prefix.

+3

Thx。バージョン1.8.3はうまく動作します。 – meow

+3

@amyはい、ダウングレードは1つの解決策です。うまくいけば、これは1.8.5で修正されるべきです。 – VonC

+0

@VonC git 1.8.5.2.msysgit.0で修正されていることを確認しました。 –

0

私はこのproblを見ていましたemと別のドライブ上のgitディレクトリ(私の場合はネットワークドライブ上のgit)と一緒に--separate-git-dirを使用しています。回避策として、mklink(adminとして実行)を使用してターゲットドライブをマップできることを確認しました。 mklink/d "C:\ temp \ my-git-dir" "D:\ my-git-repo \"

次に、次のようなものは実行可能なレポと作業ディレクトリを生成します。 gitクローン--no-hardlinks repo_url - 分離-git-dir = D:/ my-git-repo C:/ temp/my-working-dir

関連する問題