more descriptive name for oneshot

This commit is contained in:
Joey Hess 2012-09-15 20:46:38 -04:00
parent 9a9b4b840e
commit ba0334116c
13 changed files with 20 additions and 19 deletions

View file

@ -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