include filename in fsck warning

So it's available in --quiet mode. The same was already done in other
fsck warnings.

Sponsored-by: Noam Kremen on Patreon
This commit is contained in:
Joey Hess 2022-06-29 14:33:35 -04:00
parent 4b4795ec85
commit cddcabfbb5
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 4 additions and 1 deletions

View file

@ -164,7 +164,7 @@ performRemote key afile backend numcopies remote =
Nothing -> go True Nothing
Just (Right verification) -> go True (Just (tmpfile, verification))
Just (Left _) -> do
warning "failed to download file from remote"
warning (decodeBS (actionItemDesc ai) ++ ": failed to download file from remote")
void $ go True Nothing
return False
dispatch (Right False) = go False Nothing

View file

@ -13,3 +13,6 @@ Just running 'git annex fsck --from remote --quiet' on some special remote with
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
git annex is very efficient to sync my usb key, laptops and servers together.
> [[fixed|done]]. Sorry for the 4 year delay, seems I missed this bug
> report. --[[Joey]]