summaryrefslogtreecommitdiff
path: root/Annex
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-15 20:46:38 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-15 20:46:38 -0400
commitba0334116cd8811d49b96cd39dd83e565e0bedb7 (patch)
tree03b269a40b0b629a916f30665ccd1cf969f36589 /Annex
parent9a9b4b840e81198b85db72920ac88748ae3e6b6d (diff)
more descriptive name for oneshot
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