From 3c5280b1cfd3a0ea720427c6b17af0e3ad15635f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 29 Jul 2021 13:21:23 -0400 Subject: [PATCH] improve comment wording --- Command/Fsck.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Command/Fsck.hs b/Command/Fsck.hs index 04b00d73d7..c735b7a497 100644 --- a/Command/Fsck.hs +++ b/Command/Fsck.hs @@ -437,10 +437,9 @@ checkKeyUpgrade _ _ _ (AssociatedFile Nothing) = {- Runs the backend specific check on a key's content object. - - - When a file is unlocked, it may be a hard link to the object, - - thus when the user modifies the file, the object will be modified and + - When a annex.this is set, an unlocked file may be a hard link to the object. + - Thus when the user modifies the file, the object will be modified and - not pass the check, and we don't want to find an error in this case. - - So, skip the check if the key is unlocked and modified. -} checkBackend :: Backend -> Key -> KeyStatus -> AssociatedFile -> Annex Bool checkBackend backend key keystatus afile = do