From 897fd5c1049a969a05f9121adae517b8f2d4a6cb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 29 Jul 2021 13:14:03 -0400 Subject: [PATCH] add note --- Annex/Content/Presence.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Annex/Content/Presence.hs b/Annex/Content/Presence.hs index 15110213b1..07f77ec59d 100644 --- 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).