reorder for better display

This commit is contained in:
Joey Hess 2012-12-13 15:58:38 -04:00
parent 5df3c66a85
commit 2cfda59174

View file

@ -80,7 +80,6 @@ syncRemotes rs = ifM (Annex.getState Annex.fast) ( nub <$> pickfast , wanted )
commit :: CommandStart
commit = next $ next $ do
Annex.Branch.commit "update"
ifM isDirect
( ifM stageDirect
( runcommit [] , return True )
@ -90,6 +89,7 @@ commit = next $ next $ do
runcommit ps = do
showStart "commit" ""
showOutput
Annex.Branch.commit "update"
-- Commit will fail when the tree is clean, so ignore failure.
_ <- inRepo $ Git.Command.runBool "commit" $ ps ++
[Param "-m", Param "git-annex automatic sync"]