aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-05-07 15:43:36 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-05-07 15:53:03 -0400
commitc60ba579661ed502d361eca0e7ce94c8a6544fc7 (patch)
tree4745de66b582314a529f7a7428aa0e41264ac0c5 /doc
parent118932d39319b467f2b2e8c244cd722bafd19298 (diff)
Windows: Remove cygwin ssh, the newer version of which has stopped honoring the setting of HOME. Instead, copy msysgit's ssh into PATH.
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/rsync_on_windows_broken_by_upgrade.mdwn26
1 files changed, 22 insertions, 4 deletions
diff --git a/doc/bugs/rsync_on_windows_broken_by_upgrade.mdwn b/doc/bugs/rsync_on_windows_broken_by_upgrade.mdwn
index 47f061659..cb58e009f 100644
--- a/doc/bugs/rsync_on_windows_broken_by_upgrade.mdwn
+++ b/doc/bugs/rsync_on_windows_broken_by_upgrade.mdwn
@@ -14,10 +14,13 @@ Problem doesn't seem to affect the bundled ssh, just rsync. --[[Joey]]
> So the workaround is to
> delete Git/bin/ssh.exe and leave Git/cmd/ssh.exe. Then rsync works.
> However, this may screw up git's use of ssh or other stuff.
+>
+> Particularly, cygwin's ssh doesn't honor HOME anymore, instead using
+> the getpwent home, which doesn't exist.
>
> Also, see
> [[webapp_fails_to_connect_to_ssh_repository___40__windows__41__]]
-> which is the inverse of this bug.
+> which is the inverse of this bug perhaps, or at least seems related.
>
> Using 2 ssh's that try to use config from different places seems like
> a losing propisition. Need to find an rsync that works with git's ssh.
@@ -38,13 +41,28 @@ Problem doesn't seem to affect the bundled ssh, just rsync. --[[Joey]]
>>> Possible fixes:
>>>
>>> * Roll the bundled ssh and rsync back to the older versions.
->>> (But, this seems like it would leave
->>> [[webapp_fails_to_connect_to_ssh_repository___40__windows__41__]]
->>> unfixed, unless the old version of ssh didn't have that problem.)
+>>>
+>>> **This works**. And, seems that the older version of ssh from cygwin
+>>> looks at HOME, rather than getpwent home which the newer
+>>> cygwin ssh does.
+>>>
>>> * Roll the bundled rsync back, drop ssh. Rely on msysgit's bundled ssh,
>>> copying it into cmd so it's in PATH. Check: Does this combo work?
+>>>
+>>> **This works**! rsync 3.0.9 works ok with msysgit's bundled ssh.
+>>> rsync 3.1.1 is the one that needs a newer ssh.
+>>>
+>>> Note that this means we're using an old version of rsync
+>>> from cygwin with libraries from a newer cygwin. That might prove
+>>> fragile as cygwin is upgraded.
+>>>
>>> * Hope that msysgit gets updated to include a newer version of ssh
>>> which works with the new rsync.
+>>>
+>>> (Seems reasonable as a long-term plan, assuming that the
+>>> new rsync's problem with ssh is that it needs a new one, and not some
+>>> special cygwin thing.)
+>>>
>>> * Get rsync from somewhere else, perhaps msysgit. (Maybe also get ssh
>>> from msysgit?)
>>> * Keep the new rsync from cygwin, and build ssh from source,