aboutsummaryrefslogtreecommitdiff
path: root/Core.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-21 16:30:16 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-21 16:30:16 -0400
commit19fde4960dc1d6c8c05efd0f5b4293c2fb52ebf9 (patch)
tree81071cf95d64b2c3f2d206d6dc30b6154a524b22 /Core.hs
parenta68e36f518589bd15fea32da273ad6fd2f288bb5 (diff)
new fromkey subcommand, for registering urls, etc0.01
had to redo Annex monad's flag storage
Diffstat (limited to 'Core.hs')
-rw-r--r--Core.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Core.hs b/Core.hs
index 8dc4bff6f..4941dc26b 100644
--- a/Core.hs
+++ b/Core.hs
@@ -18,9 +18,8 @@ import qualified Annex
import Utility
{- Sets up a git repo for git-annex. -}
-startup :: [Flag] -> Annex ()
-startup flags = do
- mapM (\f -> Annex.flagChange f True) flags
+startup :: Annex ()
+startup = do
g <- Annex.gitRepo
liftIO $ gitAttributes g
prepUUID