config: New command for storing configuration in the git-annex branch.

Any config names can be set using this; git-annex commands will only look
at specific ones that make sense and are worth the overhead of querying the
branch.

This might also be useful for storing whatever other config-type stuff the
user might want to shove into the git-annex branch.

This commit was sponsored by Jochen Bartl on Patreon.
This commit is contained in:
Joey Hess 2017-01-30 16:41:29 -04:00
parent 26d23e38f1
commit 339464e847
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
11 changed files with 190 additions and 2 deletions

View file

@ -84,6 +84,7 @@ import qualified Command.GroupWanted
import qualified Command.Required
import qualified Command.Schedule
import qualified Command.Ungroup
import qualified Command.Config
import qualified Command.Vicfg
import qualified Command.Sync
import qualified Command.Mirror
@ -158,6 +159,7 @@ cmds testoptparser testrunner =
, Command.Required.cmd
, Command.Schedule.cmd
, Command.Ungroup.cmd
, Command.Config.cmd
, Command.Vicfg.cmd
, Command.LookupKey.cmd
, Command.CalcKey.cmd