summaryrefslogtreecommitdiff
path: root/git-annex.hs
diff options
context:
space:
mode:
Diffstat (limited to 'git-annex.hs')
-rw-r--r--git-annex.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/git-annex.hs b/git-annex.hs
index 590a7c051..2c9b1315f 100644
--- a/git-annex.hs
+++ b/git-annex.hs
@@ -11,7 +11,6 @@ main = do
args <- getArgs
flags <- argvToFlags args
- repo <- currentRepo
- gitPrep repo
+ state <- startAnnex
- mapM (\f -> dispatch f supportedBackends repo) flags
+ mapM (\f -> dispatch f state) flags