From fcfe4f532f4a87cccd1e61423e1f43c0e8e83c6a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 29 Oct 2013 16:48:06 -0400 Subject: 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. --- Types/GitConfig.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Types') 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" } -- cgit v1.2.3