summaryrefslogtreecommitdiff
path: root/Command/Indirect.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Indirect.hs')
-rw-r--r--Command/Indirect.hs7
1 files changed, 3 insertions, 4 deletions
diff --git a/Command/Indirect.hs b/Command/Indirect.hs
index 058a7b750..168d837ff 100644
--- a/Command/Indirect.hs
+++ b/Command/Indirect.hs
@@ -18,15 +18,14 @@ import Annex.Content
import Annex.CatFile
def :: [Command]
-def = [command "indirect" paramNothing seek "switch repository to indirect mode"]
+def = [notBareRepo $ command "indirect" paramNothing seek
+ "switch repository to indirect mode"]
seek :: [CommandSeek]
seek = [withNothing start]
start :: CommandStart
-start = notBareRepo $
- ifM isDirect
- ( next perform, stop )
+start = ifM isDirect ( next perform, stop )
perform :: CommandPerform
perform = do