[Github-comments] [geany/geany] in some cases, Geany doesn't detect file has been overwritten (#2133)

Matthew Brush notifications at xxxxx
Mon Apr 29 06:24:58 UTC 2019


> File managers backdating the modification time on changed files is a "bad thing"

Naw, it's technically the "right thing". mtime is only updated when the contents are changed. When you copy and overwrite/paste a file in a file manager, you're essentially deleting the destination file, and putting the copied file in its place. Since the pasted file's contents never changed, there's technically no reason to update the mtime. What Geany should probably do is use the ctime, which covers both the contents and metadata.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2133#issuecomment-487463215
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190428/b6dfee7e/attachment.html>


More information about the Github-comments mailing list