annex.autocommit
New setting, can be used to disable autocommit of changed files by the assistant, while it still does data syncing and other tasks. Also wired into webapp UI
This commit is contained in:
parent
d3d791c7e7
commit
5cd152b8a9
9 changed files with 87 additions and 13 deletions
|
@ -83,7 +83,7 @@ isDirect = annexDirect <$> Annex.getGitConfig
|
|||
|
||||
setDirect :: Bool -> Annex ()
|
||||
setDirect b = do
|
||||
setConfig (annexConfig "direct") $ if b then "true" else "false"
|
||||
setConfig (annexConfig "direct") (Git.Config.boolConfig b)
|
||||
Annex.changeGitConfig $ \c -> c { annexDirect = b }
|
||||
|
||||
{- Gets the http headers to use. -}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue