aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-11-04 17:42:24 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-11-04 17:42:24 -0400
commit18a2ba583f5a2b882cb39d097b6d7aafb982b512 (patch)
tree6faccedfb3048bee399118cb1377aee780cd08db
parent778bc3bdc130ffdf6643a70bc470f0f8f22afb10 (diff)
theory
-rw-r--r--doc/bugs/git_annex_sync_thinks_remote__39__s_name_is_a_command/comment_3_c7f9b400336b29587b26a161041e7980._comment34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_sync_thinks_remote__39__s_name_is_a_command/comment_3_c7f9b400336b29587b26a161041e7980._comment b/doc/bugs/git_annex_sync_thinks_remote__39__s_name_is_a_command/comment_3_c7f9b400336b29587b26a161041e7980._comment
new file mode 100644
index 000000000..a42390df6
--- /dev/null
+++ b/doc/bugs/git_annex_sync_thinks_remote__39__s_name_is_a_command/comment_3_c7f9b400336b29587b26a161041e7980._comment
@@ -0,0 +1,34 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 3"""
+ date="2014-11-04T21:21:16Z"
+ content="""
+From the debug output, it's apparently `git fetch origin` (and also the `git
+push origin`) that is, somehow, resuting in the error message.
+
+But, I'll bet it doesn't happen if you run `git fetch origin` by hand, does
+it?
+
+My best guess is that this is somehow related to the ssh connection
+caching code. To make ssh connection caching work, git-annex sets
+`GIT_SSH=git-annex`. This would result in `git fetch` running `git annex i3`
+as we see here, but with some environment variables set that would make
+git-annex know that it's supposed to be handling a ssh caching scenario.
+
+Perhaps you have a really old version of git-annex, that doesn't know about
+that ssh caching environment, installed someplace, in addition to the more
+recent version that's in you path. If the old version somehow gets run by
+git, it would explain this behavior.
+
+To check this theory, first try disabling ssh caching temporarily, and see if
+that avoids the problem:
+
+ git config annex.sshcaching false
+ git annex sync
+ git config annex.sshcaching true
+
+If that did avoid the problem, take a look at
+`~/.config/git-annex/program`. It probably points to the location of an old
+version of git-annex. Likely one installed from the standalone tarball.
+Removing that file would then solve your problem.
+"""]]