summaryrefslogtreecommitdiff
path: root/git-annex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-10 18:25:31 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-10 18:25:31 -0400
commit026adce5a01381e9a802747f2ddf4ca5635468c9 (patch)
tree9ba02888b88a70dcc98dbad2138426c38a48b19d /git-annex.hs
parente5514e0cb0809848645814e8c1f67cd89cb16c4f (diff)
update
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