summaryrefslogtreecommitdiff
path: root/Annex
diff options
context:
space:
mode:
Diffstat (limited to 'Annex')
-rw-r--r--Annex/Content.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Annex/Content.hs b/Annex/Content.hs
index e944ea62f..fab27d88a 100644
--- a/Annex/Content.hs
+++ b/Annex/Content.hs
@@ -298,9 +298,9 @@ getKeysPresent = liftIO . traverse (2 :: Int) =<< fromRepo gitAnnexObjectDir
- especially if performing a short-lived action.
-}
saveState :: Bool -> Annex ()
-saveState oneshot = doSideAction $ do
+saveState nocommit = doSideAction $ do
Annex.Queue.flush
- unless oneshot $
+ unless nocommit $
whenM alwayscommit $
Annex.Branch.commit "update"
where