diff options
author | 2015-07-02 12:29:22 -0400 | |
---|---|---|
committer | 2015-07-02 12:29:22 -0400 | |
commit | 38b6229bf74c7fbe18d94df0c2a9bbc528b30d57 (patch) | |
tree | b343d049aa77dcd959c5ee9ab811a13a65292ac7 /doc | |
parent | 8a2d46aaa5e96f5cb601af8e0621aed1facb96fb (diff) |
followup
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/git-annex_sync_under_windows_fails_by_using_itself_as_the_ssh_command/comment_1_b726337841cca318bf0a54f0e6240d86._comment | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/bugs/git-annex_sync_under_windows_fails_by_using_itself_as_the_ssh_command/comment_1_b726337841cca318bf0a54f0e6240d86._comment b/doc/bugs/git-annex_sync_under_windows_fails_by_using_itself_as_the_ssh_command/comment_1_b726337841cca318bf0a54f0e6240d86._comment new file mode 100644 index 000000000..bfa2a0a18 --- /dev/null +++ b/doc/bugs/git-annex_sync_under_windows_fails_by_using_itself_as_the_ssh_command/comment_1_b726337841cca318bf0a54f0e6240d86._comment @@ -0,0 +1,36 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2015-07-02T15:50:12Z" + content=""" +Based on the usage output, it seems to be running a recent enough version +of git-annex, which should notice if it's being run as a proxy for ssh. + +Some kind of problem with the environment variables used to communicate +with the git-annex proxy seems like the most likely problem. +But, I am not able to reproduce this problem on Windows (XP) here. +The `GIT_SSH` env var is clearly being set, or git wouldn't try to run +git-annex as ssh. The `GIT_ANNEX_SSHOPTION` env var is set in the same way +as `GIT_SSH`. Maybe git-annex is failing to see it for some reason? + +Since you're comfortable with building git-annex from source, maybe you can +try some simple patches to debug this? + +Here's the first patch I'd suggest. it will make git-annex print out +what value, if any, it's seeing for `GIT_ANNEX_SSHOPTION`. Note that you'll +need to install the patched git-annex into the path. + + diff --git a/CmdLine/GitAnnex.hs b/CmdLine/GitAnnex.hs + index 326dd3b..b612dbb 100644 + --- a/CmdLine/GitAnnex.hs + +++ b/CmdLine/GitAnnex.hs + @@ -225,6 +225,8 @@ run args = do + #ifdef WITH_EKG + _ <- forkServer "localhost" 4242 + #endif + + v <- getEnv sshOptionsEnv + + print (sshOptionsEnv, v) + go envmodes + where + go [] = dispatch True args cmds gitAnnexOptions [] header Git.CurrentRepo.get +"""]] |