summaryrefslogtreecommitdiff
path: root/Types
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-04-08 23:34:05 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-04-08 23:34:05 -0400
commitfc65cfc74d13600dc0b28847cd3b6f5062372dd4 (patch)
tree54b8cf6caa931b2c15cbf8879b260cd2258afbc7 /Types
parent81ebac3402d72a2cbdacd6830367dcd28429d105 (diff)
Added annex.web-download-command setting.
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 c06e3ec6e..ee818574b 100644
--- a/Types/GitConfig.hs
+++ b/Types/GitConfig.hs
@@ -36,6 +36,7 @@ data GitConfig = GitConfig
, annexHttpHeadersCommand :: Maybe String
, annexAutoCommit :: Bool
, annexWebOptions :: [String]
+ , annexWebDownloadCommand :: Maybe String
, annexCrippledFileSystem :: Bool
, annexLargeFiles :: Maybe String
, coreSymlinks :: Bool
@@ -59,6 +60,7 @@ extractGitConfig r = GitConfig
, annexHttpHeadersCommand = getmaybe (annex "http-headers-command")
, annexAutoCommit = getbool (annex "autocommit") True
, annexWebOptions = getwords (annex "web-options")
+ , annexWebDownloadCommand = getmaybe (annex "web-download-command")
, annexCrippledFileSystem = getbool (annex "crippledfilesystem") False
, annexLargeFiles = getmaybe (annex "largefiles")
, coreSymlinks = getbool "core.symlinks" True