projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72a13d2
)
add note
author
Joey Hess
<joeyh@joeyh.name>
Thu, 29 Jul 2021 17:14:03 +0000
(13:14 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Thu, 29 Jul 2021 17:14:03 +0000
(13:14 -0400)
Annex/Content/Presence.hs
patch
|
blob
|
history
diff --git
a/Annex/Content/Presence.hs
b/Annex/Content/Presence.hs
index 15110213b1831bfd15347b56571561e9620bb1b1..07f77ec59d946ee85ca67b00ccc0a7258636bdbd 100644
(file)
--- a/
Annex/Content/Presence.hs
+++ b/
Annex/Content/Presence.hs
@@
-148,6
+148,9
@@
isUnmodified' = isUnmodifiedLowLevel Database.Keys.addInodeCaches
{- Cheap check if a file contains the unmodified content of the key,
- only checking the InodeCache of the key.
-
+ - When the InodeCache is stale, this may incorrectly report that a file is
+ - modified.
+ -
- Note that, on systems not supporting high-resolution mtimes,
- this may report a false positive when repeated edits are made to a file
- within a small time window (eg 1 second).