Switched to using git for Windows, rather than msysgit.
Using msysgit with git-annex is no longer supported. At the same time, I'm updating the rsync.exe in my downloads repository with the one from msys2. Note that rsync is currently still being ldded and installed in Git/cmd/ like the other cygwin programs. The ldd fails and this failure is ignored. It would be better to special case it to go in Git/usr/bin/, so that the user can't run rsync in a dos prompt window, which doesn't work, as it needs additional libs. However, as far as git-annex running rsync running ssh, it works ok in this location. Removed the ssh.cmd and ssh-keygen.cmd; these are not needed with git for windows. Keeping them would let ssh be run manually from a dos prompt window, but that's not really a goal.
This commit is contained in:
parent
b2f207d15b
commit
6158036e23
8 changed files with 30 additions and 87 deletions
|
@ -81,7 +81,7 @@ runHook h r = do
|
|||
#ifndef mingw32_HOST_OS
|
||||
findcmd = defcmd
|
||||
#else
|
||||
{- Like msysgit, parse the first line of the hook file,
|
||||
{- Like git for windows, parse the first line of the hook file,
|
||||
- look for "#!", and dispatch the interpreter on the file. -}
|
||||
findcmd f = do
|
||||
l <- headMaybe . lines <$> catchDefaultIO "" (readFile f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue