diff options
author | 2015-09-10 14:21:15 -0400 | |
---|---|---|
committer | 2015-09-10 14:21:15 -0400 | |
commit | cdbd31e4555e509a590da32ea4f93c70401cf8cc (patch) | |
tree | 4e1ed5ee29e2e1e4d52f5756e10a7b610d5bb322 | |
parent | cf0a040b98535ec0240395cece81999b28120120 (diff) |
found a fix
-rw-r--r-- | doc/bugs/Windows:_git_annex_get_fails_with_rsync:_Failed_to_exec_ssh/comment_4_3d946c88a14929ffcb6f79eae6921e6c._comment | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/bugs/Windows:_git_annex_get_fails_with_rsync:_Failed_to_exec_ssh/comment_4_3d946c88a14929ffcb6f79eae6921e6c._comment b/doc/bugs/Windows:_git_annex_get_fails_with_rsync:_Failed_to_exec_ssh/comment_4_3d946c88a14929ffcb6f79eae6921e6c._comment new file mode 100644 index 000000000..7da961c3e --- /dev/null +++ b/doc/bugs/Windows:_git_annex_get_fails_with_rsync:_Failed_to_exec_ssh/comment_4_3d946c88a14929ffcb6f79eae6921e6c._comment @@ -0,0 +1,34 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2015-09-10T18:10:52Z" + content=""" +Here's a request that rsync be added to git for windows. It seems like it +would be pretty easy for them to add. But I don't know if they will; +the bug is currently closed wontfix. +<https://github.com/git-for-windows/git/issues/347> + +I was finally able to get rsync working with git for windows and git-annex +as follows: + +* Delete the rsync.exe that git-annex-installer.exe installs in Git/cmd +* Install <https://msys2.github.io/> +* In the msys2 shell, "pacman sync rsync" +* Copy /msys32/usr/bin/rsync.exe to /Program Files/Git/usr/bin/ + +So, I could include that rsync.exe in the git-annex for windows. However, since +there are 2 versions of rsync.exe, one which works with git for windows, +and one that works with msysgit, I might not be able to get a git-annex +build for windows that works with both of those versions of git at once. + +If I do switch to only supporting git for windows, I could also drop some +bundled programs from git-annex-installer.exe. These programs are all +bundled with git for windows too: + +* cp +* gpg +* shaNsum + +Leaving only, I think, wget and curl and rsync to be bundled with +git-annex. +"""]] |