Examine file ctime when checking if files have changed.

This commit is contained in:
Courtney Bane committed 2019-04-23 21:54:35 -05:00
1 parent ecc2458de8
commit b8c2544dcb
7 files changed
+40 -1

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
Bugfix: Use ctime when checking for file changes
Previously, restic only checked a file's mtime (along with other non-timestamp
data) to decide if a file has changed. This could cause it to not notice changes
if something edits a file and then resets the timestamp. Restic now also checks
the ctime, so any modification to a file should be noticed.
https://github.com/restic/restic/issues/2179