From cddcabfbb5ffdcfaf5f15407533d80fc21ac3804 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 29 Jun 2022 14:33:35 -0400 Subject: [PATCH] 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 --- Command/Fsck.hs | 2 +- ...mode_don__39__t_report_the_files_it_failed_to_download.mdwn | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Command/Fsck.hs b/Command/Fsck.hs index cae25dbfaa..eef6a4f214 100644 --- a/Command/Fsck.hs +++ b/Command/Fsck.hs @@ -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 diff --git a/doc/bugs/git-annex_fsck_in_quiet_mode_don__39__t_report_the_files_it_failed_to_download.mdwn b/doc/bugs/git-annex_fsck_in_quiet_mode_don__39__t_report_the_files_it_failed_to_download.mdwn index 2496715957..31da88a6ce 100644 --- a/doc/bugs/git-annex_fsck_in_quiet_mode_don__39__t_report_the_files_it_failed_to_download.mdwn +++ b/doc/bugs/git-annex_fsck_in_quiet_mode_don__39__t_report_the_files_it_failed_to_download.mdwn @@ -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]] -- 2.30.2