summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-03-17 19:20:51 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-03-17 19:20:51 -0400
commite340b777916f48898e15597ce6bdf9be7ba6149d (patch)
treeb1c4fdf27a67cf617daca7d49e844886ba3f5e76
parentef941e205deb18cf423afbdb452ab9619d4c21d7 (diff)
devblog
-rw-r--r--doc/devblog/day_452__GIT_SSH.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/devblog/day_452__GIT_SSH.mdwn b/doc/devblog/day_452__GIT_SSH.mdwn
new file mode 100644
index 000000000..7ba94dff8
--- /dev/null
+++ b/doc/devblog/day_452__GIT_SSH.mdwn
@@ -0,0 +1,17 @@
+Found a bug in git-annex-shell where verbose messages would sometimes make
+it output things git-annex didn't expect.
+
+While fixing that, I wanted to add a test case, but the test suite actually
+does not test git-annex-shell at all. It would need to ssh, which test
+suites should not do. So, I took a detour..
+
+Support for `GIT_SSH` and `GIT_SSH_COMMAND` has been requested before for
+various reasons. So I implemented that, which took 4 hours. (With one
+little possible compatability caveat, since git-annex needs to pass the -n
+parameter to ssh sometimes, and git's interface doesn't allow for such a
+parameter.)
+
+Now the test suite can use those environment variables to make mock ssh
+remotes be accessed using local `sh` instead of `ssh`.
+
+Today's work was sponsored by Trenton Cronholm on Patreon.