aboutsummaryrefslogtreecommitdiff
path: root/Backend
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-10-11 13:29:44 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-10-11 13:29:44 -0400
commitb3e761b6cf42cb537e7e8e8db4d74b12c7dbfd8a (patch)
tree3b799f34356a5ae27371ff5d04ab6dbec39e62ad /Backend
parent017af7233d8d6520d1673218bcd3fadce73d2b1d (diff)
use action, not sideAction
sideAction is for things not generally related to the current action being performed. And, it adds a newline after the side action. This was not the right thing to use for stuff like "checksum", where doing a checksum is part of the git annex get process, and indeed we want it to display "(checksum...) ok"
Diffstat (limited to 'Backend')
-rw-r--r--Backend/Hash.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend/Hash.hs b/Backend/Hash.hs
index e6e5210a1..7f61c4f3e 100644
--- a/Backend/Hash.hs
+++ b/Backend/Hash.hs
@@ -116,7 +116,7 @@ checkKeyChecksum hash key file = go `catchHardwareFault` hwfault
case (mstat, fast) of
(Just stat, False) -> do
filesize <- liftIO $ getFileSize' file stat
- showSideAction "checksum"
+ showAction "checksum"
check <$> hashFile hash file filesize
_ -> return True
expected = keyHash key