summaryrefslogtreecommitdiff
path: root/Command/Sync.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Sync.hs')
-rw-r--r--Command/Sync.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Command/Sync.hs b/Command/Sync.hs
index 8e237ae84..f7ebba6f5 100644
--- a/Command/Sync.hs
+++ b/Command/Sync.hs
@@ -75,6 +75,7 @@ commit = do
showStart "commit" ""
next $ next $ do
showOutput
+ Annex.Branch.commit "update"
-- Commit will fail when the tree is clean, so ignore failure.
_ <- inRepo $ Git.Command.runBool "commit"
[Param "-a", Param "-m", Param "git-annex automatic sync"]