execute remote.<name>.annex-shell on remote, if set

It is useful to be able to specify an alternative git-annex-shell
program to execute on the remote, e.g., to run a version not on the
PATH.  Use remote.<name>.annex-shell if specified, instead of the
default "git-annex-shell" i.e., first so-named executable on the
PATH.
This commit is contained in:
Fraser Tweedale 2014-05-16 21:34:43 +10:00 committed by Joey Hess
parent 5ed51e724e
commit 4eb72392b4
5 changed files with 26 additions and 9 deletions

View file

@ -1493,6 +1493,14 @@ Here are all the supported configuration settings.
The command will only be run once *all* running git-annex processes
are finished using the remote.
* `remote.<name>.annex-shell`
Specify an alternative git-annex-shell executable on the remote
instead of looking for "git-annex-shell" on the PATH.
This is useful if the git-annex-shell program is outside the PATH
or has a non-standard name.
* `remote.<name>.annex-ignore`
If set to `true`, prevents git-annex