summaryrefslogtreecommitdiff
path: root/Types
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-03-05 17:44:14 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-03-05 17:44:14 -0400
commit1db1469905cd08da2b4a2f5e310437ff5233f286 (patch)
treedce09d0ef76f95819bfb8f3d2640c4121475c5fe /Types
parentf86866c6130ad7b8eb1433c976e4c94b1f17e30d (diff)
annex.startupscan can be set to false to disable the assistant's startup scan.
Diffstat (limited to 'Types')
-rw-r--r--Types/GitConfig.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Types/GitConfig.hs b/Types/GitConfig.hs
index ddcf6da50..b49f3d762 100644
--- a/Types/GitConfig.hs
+++ b/Types/GitConfig.hs
@@ -51,6 +51,7 @@ data GitConfig = GitConfig
, annexSecureEraseCommand :: Maybe String
, annexGenMetaData :: Bool
, annexListen :: Maybe String
+ , annexStartupScan :: Bool
, coreSymlinks :: Bool
, gcryptId :: Maybe String
}
@@ -85,6 +86,7 @@ extractGitConfig r = GitConfig
, annexSecureEraseCommand = getmaybe (annex "secure-erase-command")
, annexGenMetaData = getbool (annex "genmetadata") False
, annexListen = getmaybe (annex "listen")
+ , annexStartupScan = getbool (annex "startupscan") True
, coreSymlinks = getbool "core.symlinks" True
, gcryptId = getmaybe "core.gcrypt-id"
}