]> dgit.raspbian.org Git - git-annex.git/commitdiff
improve comment wording
authorJoey Hess <joeyh@joeyh.name>
Thu, 29 Jul 2021 17:21:23 +0000 (13:21 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 29 Jul 2021 17:21:23 +0000 (13:21 -0400)
Command/Fsck.hs

index 04b00d73d7f79bf5cfa0b2540f89f517a66c6838..c735b7a4975e493b16b44f406b78934e16edd5ae 100644 (file)
@@ -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