add flags, and change to subcommand style
This commit is contained in:
parent
4c3ad80f32
commit
29039fdf97
7 changed files with 59 additions and 30 deletions
5
Core.hs
5
Core.hs
|
@ -12,8 +12,9 @@ import qualified GitRepo as Git
|
|||
import qualified Annex
|
||||
|
||||
{- Sets up a git repo for git-annex. -}
|
||||
setup :: Annex ()
|
||||
setup = do
|
||||
startup :: [Flag] -> Annex ()
|
||||
startup flags = do
|
||||
Annex.flagsChange flags
|
||||
g <- Annex.gitRepo
|
||||
liftIO $ gitAttributes g
|
||||
prepUUID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue