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:
parent
5ed51e724e
commit
4eb72392b4
5 changed files with 26 additions and 9 deletions
|
@ -119,6 +119,7 @@ data RemoteGitConfig = RemoteGitConfig
|
|||
|
||||
{- These settings are specific to particular types of remotes
|
||||
- including special remotes. -}
|
||||
, remoteAnnexShell :: Maybe String
|
||||
, remoteAnnexSshOptions :: [String]
|
||||
, remoteAnnexRsyncOptions :: [String]
|
||||
, remoteAnnexRsyncUploadOptions :: [String]
|
||||
|
@ -151,6 +152,7 @@ extractRemoteGitConfig r remotename = RemoteGitConfig
|
|||
, remoteAnnexAvailability = getmayberead "availability"
|
||||
, remoteAnnexBare = getmaybebool "bare"
|
||||
|
||||
, remoteAnnexShell = getmaybe "shell"
|
||||
, remoteAnnexSshOptions = getoptions "ssh-options"
|
||||
, remoteAnnexRsyncOptions = getoptions "rsync-options"
|
||||
, remoteAnnexRsyncDownloadOptions = getoptions "rsync-download-options"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue