refactor isBareRepo
This commit is contained in:
parent
c8dd196234
commit
26887745a0
4 changed files with 7 additions and 9 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue