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"
This commit is contained in:
parent
bddff249ae
commit
fa9333e99f
6 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue