followup
This commit is contained in:
parent
3f6a53df3a
commit
3d0a4a0a67
1 changed files with 36 additions and 0 deletions
|
@ -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
|
||||||
|
"""]]
|
Loading…
Reference in a new issue