This commit is contained in:
Joey Hess 2014-01-21 18:08:56 -04:00
parent 0ef282a116
commit f7cdc40f7b
14 changed files with 91 additions and 77 deletions

View file

@ -79,7 +79,6 @@ extractGitConfig r = GitConfig
, gcryptId = getmaybe "core.gcrypt-id"
}
where
get k def = fromMaybe def $ getmayberead k
getbool k def = fromMaybe def $ getmaybebool k
getmaybebool k = Git.Config.isTrue =<< getmaybe k
getmayberead k = readish =<< getmaybe k