summaryrefslogtreecommitdiff
path: root/Types
diff options
context:
space:
mode:
Diffstat (limited to 'Types')
-rw-r--r--Types/GitConfig.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Types/GitConfig.hs b/Types/GitConfig.hs
index aafd97cb9..0f02a5270 100644
--- a/Types/GitConfig.hs
+++ b/Types/GitConfig.hs
@@ -16,6 +16,7 @@ import Common
import qualified Git
import qualified Git.Config
import qualified Git.Construct
+import Git.SharedRepository
import Utility.DataUnits
import Config.Cost
import Types.Distribution
@@ -58,6 +59,7 @@ data GitConfig = GitConfig
, annexStartupScan :: Bool
, annexHardLink :: Bool
, coreSymlinks :: Bool
+ , coreSharedRepository :: SharedRepository
, gcryptId :: Maybe String
, annexDifferences :: Differences
, annexUsedRefSpec :: Maybe RefSpec
@@ -97,6 +99,7 @@ extractGitConfig r = GitConfig
, annexStartupScan = getbool (annex "startupscan") True
, annexHardLink = getbool (annex "hardlink") False
, coreSymlinks = getbool "core.symlinks" True
+ , coreSharedRepository = getSharedRepository r
, gcryptId = getmaybe "core.gcrypt-id"
, annexDifferences = getDifferences r
, annexUsedRefSpec = either (const Nothing) Just . parseRefSpec