From 9a58cbabc8fb30b181da48191a87ba6520e0fb0c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 27 Jan 2013 22:43:05 +1100 Subject: 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 --- Config.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Config.hs') diff --git a/Config.hs b/Config.hs index f2f12a266..ad67a9a0d 100644 --- a/Config.hs +++ b/Config.hs @@ -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. -} -- cgit v1.2.3