summaryrefslogtreecommitdiff
path: root/Types
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2018-06-04 16:51:25 -0400
committerJoey Hess <joeyh@joeyh.name>2018-06-04 16:51:25 -0400
commit09aa4ee7e57d94699a0bb2f1dc82508d0a5e353c (patch)
tree5d0d1b291598ca45bb2c4933826467c70ee87119 /Types
parentc3e1d0550f703c3c78716a9f30863d154268b992 (diff)
remove unused gitConfigRepo
Diffstat (limited to 'Types')
-rw-r--r--Types/GitConfig.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/Types/GitConfig.hs b/Types/GitConfig.hs
index 6fe635a638..5984f1605f 100644
--- a/Types/GitConfig.hs
+++ b/Types/GitConfig.hs
@@ -97,7 +97,6 @@ data GitConfig = GitConfig
, receiveDenyCurrentBranch :: DenyCurrentBranch
, gcryptId :: Maybe String
, gpgCmd :: GpgCmd
- , gitConfigRepo :: Git.Repo
}
extractGitConfig :: Git.Repo -> GitConfig
@@ -164,7 +163,6 @@ extractGitConfig r = GitConfig
, receiveDenyCurrentBranch = getDenyCurrentBranch r
, gcryptId = getmaybe "core.gcrypt-id"
, gpgCmd = mkGpgCmd (getmaybe "gpg.program")
- , gitConfigRepo = r
}
where
getbool k d = fromMaybe d $ getmaybebool k