summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar pkitslaar <pkitslaar@web>2016-01-11 10:25:23 +0000
committerGravatar admin <admin@branchable.com>2016-01-11 10:25:23 +0000
commit5297b375483b2e90bec2bf1558abaddaa602732d (patch)
tree9e3784ec4117079eb0d864ce5574594aede5a1f1
parent7078469251930a4dae68eec36fc8ff6d5e49963a (diff)
Added a comment: Possible fix for rsync windows paths
-rw-r--r--doc/forum/__34__git_annex_get__34___on_windows_fails_with_rsync_error/comment_3_9bc58c6c2333655870c5e42138f9749e._comment15
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.
+"""]]