diff options
Diffstat (limited to 'doc/forum/__34__git_annex_get__34___on_windows_fails_with_rsync_error/comment_3_9bc58c6c2333655870c5e42138f9749e._comment')
-rw-r--r-- | doc/forum/__34__git_annex_get__34___on_windows_fails_with_rsync_error/comment_3_9bc58c6c2333655870c5e42138f9749e._comment | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/forum/__34__git_annex_get__34___on_windows_fails_with_rsync_error/comment_3_9bc58c6c2333655870c5e42138f9749e._comment b/doc/forum/__34__git_annex_get__34___on_windows_fails_with_rsync_error/comment_3_9bc58c6c2333655870c5e42138f9749e._comment new file mode 100644 index 000000000..55d0699fe --- /dev/null +++ b/doc/forum/__34__git_annex_get__34___on_windows_fails_with_rsync_error/comment_3_9bc58c6c2333655870c5e42138f9749e._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="pkitslaar" + subject="Possible fix for rsync windows paths" + date="2016-01-11T10:25:22Z" + content=""" +I looked at the code that creates the paths for the rsync command on Windows. +And it is using Cygwin style paths. However, the rsync version that is bundled with +git-annex on Windows is taken from the MSYS2 distribution. This uses different path +convention for drive letters (simply `/c` and `/d` for `C:\` and `D:\` etc..) + +I created a quick fix by adding a toMSYS2Path function and using that for rsync on Windows. +I fix can be found here: <https://github.com/pkitslaar/git-annex/commit/6cd134ade1cf5b03259d04779e2767a07a2f6014> + +For me this works when I locally build git-annex and I can now \"get\" files from repositories on another drive. +"""]] |