Add --exclude option to exclude files from processing.
Required some lifting so flags are evaled in the Annex monad before file filtering.
This commit is contained in:
parent
627a301437
commit
2099407d8a
5 changed files with 57 additions and 27 deletions
|
@ -19,5 +19,5 @@ main = do
|
|||
args <- getArgs
|
||||
gitrepo <- Git.repoFromCwd
|
||||
state <- Annex.new gitrepo allBackends
|
||||
(configure, actions) <- parseCmd args state
|
||||
tryRun state $ [startup, upgrade] ++ configure ++ actions
|
||||
(actions, state') <- Annex.run state $ parseCmd args
|
||||
tryRun state' $ [startup, upgrade] ++ actions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue