From d315798609fe82bf753172a807a19cc7203797b6 Mon Sep 17 00:00:00 2001 From: "http://schnouki.net/" Date: Thu, 22 Mar 2012 18:42:09 +0000 Subject: [PATCH] --- doc/bugs/configurable_path_to_git-annex-shell.mdwn | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/bugs/configurable_path_to_git-annex-shell.mdwn diff --git a/doc/bugs/configurable_path_to_git-annex-shell.mdwn b/doc/bugs/configurable_path_to_git-annex-shell.mdwn new file mode 100644 index 0000000000..5ef479160f --- /dev/null +++ b/doc/bugs/configurable_path_to_git-annex-shell.mdwn @@ -0,0 +1,5 @@ +On one of my ssh remotes I had to install git-annex using cabal. No system-wide installation possible. Hence `git-annex` and `git-annex-shell` are not in the default `$PATH` but in `$HOME/.cabal/bin`. + +Right now the command run by git-annex when ssh'ing to a remote is hardcoded to "`git-annex-shell`", which doesn't work for me. It would be nice to be able to change this per remote, for example with an option named `annex..annex-shell-command`. Changing "`git-annex-shell`" in `Remote/Helper/Ssh.hs` to "`~/.cabal/bin/git-annex-shell`" worked for me, but it's obviously very ugly :) + +Could you do that please? I'll try to hack it myself and send you a patch in the next few days, but I'm pretty new to Haskell so it may take me a while... Thanks!