Skip to content
  • Joey Hess's avatar
    add annex-ignore-command and annex-sync-command configs · d39c120a
    Joey Hess authored
    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.
    d39c120a