From 5297b375483b2e90bec2bf1558abaddaa602732d Mon Sep 17 00:00:00 2001 From: pkitslaar Date: Mon, 11 Jan 2016 10:25:23 +0000 Subject: Added a comment: Possible fix for rsync windows paths --- .../comment_3_9bc58c6c2333655870c5e42138f9749e._comment | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/forum/__34__git_annex_get__34___on_windows_fails_with_rsync_error/comment_3_9bc58c6c2333655870c5e42138f9749e._comment (limited to 'doc') 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: + +For me this works when I locally build git-annex and I can now \"get\" files from repositories on another drive. +"""]] -- cgit v1.2.3