This commit is contained in:
Joey Hess 2011-05-28 22:24:48 -04:00
parent 25b13673f0
commit 66a99d3740

View file

@ -48,9 +48,9 @@ start = notBareRepo $ do
checkUnused :: CommandPerform
checkUnused = do
(unused, stalebad, staletmp) <- unusedKeys
n <- list "" unusedMsg unused 0
n' <- list "bad" staleBadMsg stalebad n
_ <- list "tmp" staleTmpMsg staletmp n'
_ <- list "" unusedMsg unused 0 >>=
list "bad" staleBadMsg stalebad >>=
list "tmp" staleTmpMsg staletmp
next $ return True
where
list file msg l c = do