git-annex/Remote
Joey Hess d39c120afa
add annex-ignore-command and annex-sync-command configs
Added remote configuration settings annex-ignore-command and
annex-sync-command, which are dynamic equivilants of the annex-ignore
and annex-sync configurations.

For this I needed a new DynamicConfig infrastructure. Its implementation
should be as fast as before when there is no dynamic config, and it caches
so shell commands are only run once.

Note that annex-ignore-command exits nonzero when the remote should be ignored.
While that may seem backwards, it allows using the same command for it as
for annex-sync-command when you want to disable both.

This commit was sponsored by Trenton Cronholm on Patreon.
2017-08-17 13:54:14 -04:00
..
Directory remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
External implementation of peer-to-peer protocol 2016-11-17 18:30:50 -04:00
Helper adeiu, MissingH 2017-05-16 01:03:52 -04:00
Rsync adeiu, MissingH 2017-05-16 01:03:52 -04:00
WebDAV adeiu, MissingH 2017-05-16 01:03:52 -04:00
BitTorrent.hs Some optimisations to string splitting code. 2017-01-31 19:06:22 -04:00
Bup.hs Support GIT_SSH and GIT_SSH_COMMAND 2017-03-17 16:20:37 -04:00
Ddar.hs Support GIT_SSH and GIT_SSH_COMMAND 2017-03-17 16:20:37 -04:00
Directory.hs add SetupStage parameter to RemoteType.setup 2017-02-07 14:55:58 -04:00
External.hs Windows: Improve handling of shebang in external special remote program, searching for the program in the PATH. 2017-03-08 15:59:00 -04:00
GCrypt.hs add annex-ignore-command and annex-sync-command configs 2017-08-17 13:54:14 -04:00
Git.hs add annex-ignore-command and annex-sync-command configs 2017-08-17 13:54:14 -04:00
Glacier.hs add SetupStage parameter to RemoteType.setup 2017-02-07 14:55:58 -04:00
Hook.hs add SetupStage parameter to RemoteType.setup 2017-02-07 14:55:58 -04:00
List.hs stub Remote.P2P 2016-12-06 12:27:58 -04:00
P2P.hs de-Maybe remoteGitConfig 2017-05-11 16:05:01 -04:00
Rsync.hs Support GIT_SSH and GIT_SSH_COMMAND 2017-03-17 16:20:37 -04:00
S3.hs fix build with old http-client versions 2017-08-17 11:00:48 -04:00
Tahoe.hs add SetupStage parameter to RemoteType.setup 2017-02-07 14:55:58 -04:00
Web.hs Avoid backtraces on expected failures when built with ghc 8; only use backtraces for unexpected errors. 2016-11-15 21:29:54 -04:00
WebDAV.hs add SetupStage parameter to RemoteType.setup 2017-02-07 14:55:58 -04:00