<blockquote>
<p>File managers backdating the modification time on changed files is a "bad thing"</p>
</blockquote>
<p>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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2133#issuecomment-487463215">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4AAMOZXZK76QIWPZ3PS2IDVANCNFSM4HI2SZYQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4GVBZDSCP76LITKXTPS2IDVANCNFSM4HI2SZYQ.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@codebrainz in #2133: \u003e File managers backdating the modification time on changed files is a \"bad thing\"\r\n\r\nNaw, 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."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/2133#issuecomment-487463215"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2133#issuecomment-487463215",
"url": "https://github.com/geany/geany/issues/2133#issuecomment-487463215",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>