summaryrefslogtreecommitdiff
path: root/Annex/Branch.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-04-27 13:23:52 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-04-27 13:54:33 -0400
commit76102c1c7541e7b10c3a3fbe242e9856fef955b3 (patch)
treee9c0b61fd1913c59c68dfa9929a860fc61d767bf /Annex/Branch.hs
parente0b7012ccc405dedb556b8c940eb66e42304bc73 (diff)
display "Recording state in git..." when staging the journal
A bit tricky to avoid printing it twice in a row when there are queued git commands to run and journal to stage. Added a generic way to run an action that may output multiple side messages, with only the first displayed.
Diffstat (limited to 'Annex/Branch.hs')
-rw-r--r--Annex/Branch.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Annex/Branch.hs b/Annex/Branch.hs
index ce1dd58ce..706522f3b 100644
--- a/Annex/Branch.hs
+++ b/Annex/Branch.hs
@@ -330,6 +330,7 @@ setCommitted = void $ do
{- Stages the journal into the index. -}
stageJournal :: Annex ()
stageJournal = do
+ showStoringStateAction
fs <- getJournalFiles
g <- gitRepo
withIndex $ liftIO $ do