aboutsummaryrefslogtreecommitdiff
path: root/git-annex.hs
diff options
context:
space:
mode:
Diffstat (limited to 'git-annex.hs')
-rw-r--r--git-annex.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-annex.hs b/git-annex.hs
index 01416f6dd..f4f0cfcdf 100644
--- a/git-annex.hs
+++ b/git-annex.hs
@@ -3,17 +3,17 @@
import Control.Exception
import System.IO
import System.Environment
+
import qualified Annex
import Types
import Core
import Commands
-import Annex
import qualified GitRepo as Git
main = do
args <- getArgs
gitrepo <- Git.repoFromCwd
- state <- new gitrepo
+ state <- Annex.new gitrepo
(flags, actions) <- parseCmd args state
tryRun state $ [startup flags] ++ actions ++ [shutdown]