reorder for better display
This commit is contained in:
parent
5df3c66a85
commit
2cfda59174
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,6 @@ syncRemotes rs = ifM (Annex.getState Annex.fast) ( nub <$> pickfast , wanted )
|
||||||
|
|
||||||
commit :: CommandStart
|
commit :: CommandStart
|
||||||
commit = next $ next $ do
|
commit = next $ next $ do
|
||||||
Annex.Branch.commit "update"
|
|
||||||
ifM isDirect
|
ifM isDirect
|
||||||
( ifM stageDirect
|
( ifM stageDirect
|
||||||
( runcommit [] , return True )
|
( runcommit [] , return True )
|
||||||
|
@ -90,6 +89,7 @@ commit = next $ next $ do
|
||||||
runcommit ps = do
|
runcommit ps = do
|
||||||
showStart "commit" ""
|
showStart "commit" ""
|
||||||
showOutput
|
showOutput
|
||||||
|
Annex.Branch.commit "update"
|
||||||
-- Commit will fail when the tree is clean, so ignore failure.
|
-- Commit will fail when the tree is clean, so ignore failure.
|
||||||
_ <- inRepo $ Git.Command.runBool "commit" $ ps ++
|
_ <- inRepo $ Git.Command.runBool "commit" $ ps ++
|
||||||
[Param "-m", Param "git-annex automatic sync"]
|
[Param "-m", Param "git-annex automatic sync"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue