remove unused code

This commit is contained in:
Joey Hess 2011-03-03 17:35:44 -04:00
parent e49e6a403b
commit b27b0d5cd4

View file

@ -17,7 +17,6 @@ module GitRepo (
repoIsUrl,
repoIsSsh,
repoIsLocalBare,
repoIsLocalFull,
repoDescribe,
repoLocation,
workTree,
@ -170,10 +169,6 @@ repoIsLocalBare :: Repo -> Bool
repoIsLocalBare r@(Repo { location = Dir _ }) = configAvail r && configBare r
repoIsLocalBare _ = False
repoIsLocalFull :: Repo -> Bool
repoIsLocalFull r@(Repo { location = Dir _ }) = configAvail r && not (configBare r)
repoIsLocalFull _ = False
assertLocal :: Repo -> a -> a
assertLocal repo action =
if not $ repoIsUrl repo