refactor isBareRepo

This commit is contained in:
Joey Hess 2016-06-02 16:59:15 -04:00
parent c8dd196234
commit 26887745a0
Failed to extract signature
4 changed files with 7 additions and 9 deletions

View file

@ -91,9 +91,6 @@ stop = return Nothing
stopUnless :: Annex Bool -> Annex (Maybe a) -> Annex (Maybe a)
stopUnless c a = ifM c ( a , stop )
isBareRepo :: Annex Bool
isBareRepo = fromRepo Git.repoIsLocalBare
commonChecks :: [CommandCheck]
commonChecks = [repoExists]