diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-01-28 14:04:32 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-01-28 14:04:32 -0400 |
commit | 0539e31a498539a7b7ca7f21764f595113ea9b1f (patch) | |
tree | 760b8a36d49bafe1ef32db50927b23c05dfc30e2 /Types | |
parent | 2b99d8217908d5553548d3c6a07978e2fad1e5ad (diff) |
annex.addsmallfiles: New option controlling what is done when adding files not matching annex.largefiles.
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 208da4ac7..fbc3484d0 100644 --- a/Types/GitConfig.hs +++ b/Types/GitConfig.hs @@ -54,6 +54,7 @@ data GitConfig = GitConfig , annexWebDownloadCommand :: Maybe String , annexCrippledFileSystem :: Bool , annexLargeFiles :: Maybe String + , annexAddSmallFiles :: Bool , annexFsckNudge :: Bool , annexAutoUpgrade :: AutoUpgrade , annexExpireUnused :: Maybe (Maybe Duration) @@ -99,6 +100,7 @@ extractGitConfig r = GitConfig , annexWebDownloadCommand = getmaybe (annex "web-download-command") , annexCrippledFileSystem = getbool (annex "crippledfilesystem") False , annexLargeFiles = getmaybe (annex "largefiles") + , annexAddSmallFiles = getbool (annex "addsmallfiles") True , annexFsckNudge = getbool (annex "fscknudge") True , annexAutoUpgrade = toAutoUpgrade $ getmaybe (annex "autoupgrade") , annexExpireUnused = maybe Nothing Just . parseDuration |