This commit is contained in:
Joey Hess 2010-10-14 16:13:43 -04:00
parent d4ce072452
commit aa2f4bd810
5 changed files with 46 additions and 46 deletions

View file

@ -7,12 +7,15 @@ import qualified Annex
import Types
import Core
import Commands
import Annex
import qualified GitRepo as Git
main = do
args <- getArgs
actions <- argvToActions args
state <- start
tryRun state actions
gitrepo <- Git.repoFromCwd
state <- new gitrepo
tryRun state (gitSetup:actions)
{- Runs a list of Annex actions. Catches exceptions, not stopping
- if some error out, and propigates an overall error status at the end.