annex.debug can now be set to enable debug logging by default. The webapp's debugging check box does this.

This commit is contained in:
Joey Hess 2013-06-17 20:41:17 -04:00
parent 9200e9a5f9
commit fa1c1e0f65
7 changed files with 33 additions and 7 deletions

View file

@ -35,6 +35,7 @@ data GitConfig = GitConfig
, annexHttpHeaders :: [String]
, annexHttpHeadersCommand :: Maybe String
, annexAutoCommit :: Bool
, annexDebug :: Bool
, annexWebOptions :: [String]
, annexWebDownloadCommand :: Maybe String
, annexCrippledFileSystem :: Bool
@ -59,6 +60,7 @@ extractGitConfig r = GitConfig
, annexHttpHeaders = getlist (annex "http-headers")
, annexHttpHeadersCommand = getmaybe (annex "http-headers-command")
, annexAutoCommit = getbool (annex "autocommit") True
, annexDebug = getbool (annex "debug") False
, annexWebOptions = getwords (annex "web-options")
, annexWebDownloadCommand = getmaybe (annex "web-download-command")
, annexCrippledFileSystem = getbool (annex "crippledfilesystem") False