remove unused gitConfigRepo
This commit is contained in:
parent
c3e1d0550f
commit
09aa4ee7e5
1 changed files with 0 additions and 2 deletions
|
@ -97,7 +97,6 @@ data GitConfig = GitConfig
|
||||||
, receiveDenyCurrentBranch :: DenyCurrentBranch
|
, receiveDenyCurrentBranch :: DenyCurrentBranch
|
||||||
, gcryptId :: Maybe String
|
, gcryptId :: Maybe String
|
||||||
, gpgCmd :: GpgCmd
|
, gpgCmd :: GpgCmd
|
||||||
, gitConfigRepo :: Git.Repo
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extractGitConfig :: Git.Repo -> GitConfig
|
extractGitConfig :: Git.Repo -> GitConfig
|
||||||
|
@ -164,7 +163,6 @@ extractGitConfig r = GitConfig
|
||||||
, receiveDenyCurrentBranch = getDenyCurrentBranch r
|
, receiveDenyCurrentBranch = getDenyCurrentBranch r
|
||||||
, gcryptId = getmaybe "core.gcrypt-id"
|
, gcryptId = getmaybe "core.gcrypt-id"
|
||||||
, gpgCmd = mkGpgCmd (getmaybe "gpg.program")
|
, gpgCmd = mkGpgCmd (getmaybe "gpg.program")
|
||||||
, gitConfigRepo = r
|
|
||||||
}
|
}
|
||||||
where
|
where
|
||||||
getbool k d = fromMaybe d $ getmaybebool k
|
getbool k d = fromMaybe d $ getmaybebool k
|
||||||
|
|
Loading…
Reference in a new issue