summaryrefslogtreecommitdiff
path: root/Command.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-06-02 16:59:15 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-06-02 16:59:47 -0400
commited9cdb350e0bae8523b9d60cd414730c7d515829 (patch)
tree34a4da75125165dc6cd992c68decccec7f74bc1f /Command.hs
parentbfc9f0cb3094da50c6d6e22242978513bee8a622 (diff)
refactor isBareRepo
Diffstat (limited to 'Command.hs')
-rw-r--r--Command.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/Command.hs b/Command.hs
index 9f45e088f..82c8b3cc1 100644
--- a/Command.hs
+++ b/Command.hs
@@ -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]