diff options
author | Joey Hess <joey@kitenet.net> | 2013-10-29 16:48:06 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-10-29 16:50:38 -0400 |
commit | fcfe4f532f4a87cccd1e61423e1f43c0e8e83c6a (patch) | |
tree | beda9d60b0390c416538ed9da494f43c30c8720e /Types | |
parent | 16d6ab71124876f7cffb79778cf8de1b23b5c1ba (diff) |
webapp: remind user when using repositories that lack consistency checks
When starting up the assistant, it'll remind about the current
repository, if it doesn't have checks. And when a removable drive
is plugged in, it will remind if a repository on it lacks checks.
Since that might be annoying, the reminders can be turned off.
This commit was sponsored by Nedialko Andreev.
Diffstat (limited to 'Types')
-rw-r--r-- | Types/GitConfig.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Types/GitConfig.hs b/Types/GitConfig.hs index 5db38e68f..b573a9a25 100644 --- a/Types/GitConfig.hs +++ b/Types/GitConfig.hs @@ -41,6 +41,7 @@ data GitConfig = GitConfig , annexWebDownloadCommand :: Maybe String , annexCrippledFileSystem :: Bool , annexLargeFiles :: Maybe String + , annexFsckNudge :: Bool , coreSymlinks :: Bool , gcryptId :: Maybe String } @@ -68,6 +69,7 @@ extractGitConfig r = GitConfig , annexWebDownloadCommand = getmaybe (annex "web-download-command") , annexCrippledFileSystem = getbool (annex "crippledfilesystem") False , annexLargeFiles = getmaybe (annex "largefiles") + , annexFsckNudge = getbool (annex "fscknudge") True , coreSymlinks = getbool "core.symlinks" True , gcryptId = getmaybe "core.gcrypt-id" } |