summaryrefslogtreecommitdiff
path: root/doc/bugs/git-annex_sync_under_windows_fails_by_using_itself_as_the_ssh_command/comment_1_b726337841cca318bf0a54f0e6240d86._comment
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/git-annex_sync_under_windows_fails_by_using_itself_as_the_ssh_command/comment_1_b726337841cca318bf0a54f0e6240d86._comment')
-rw-r--r--doc/bugs/git-annex_sync_under_windows_fails_by_using_itself_as_the_ssh_command/comment_1_b726337841cca318bf0a54f0e6240d86._comment36
1 files changed, 0 insertions, 36 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
deleted file mode 100644
index bfa2a0a18..000000000
--- a/doc/bugs/git-annex_sync_under_windows_fails_by_using_itself_as_the_ssh_command/comment_1_b726337841cca318bf0a54f0e6240d86._comment
+++ /dev/null
@@ -1,36 +0,0 @@
-[[!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
-"""]]