Touch files with same content to update timestamps

This commit is contained in:
I-Al-Istannen 2020-05-31 20:27:15 +02:00
parent f614b95a00
commit fdb57884ed

View File

@ -65,6 +65,8 @@ class Organizer(Location):
# Bail out, nothing more to do
PRETTY.ignored_file(dst_absolute, "same file contents")
self.mark(dst)
# Touch it to update the timestamp
dst_absolute.touch()
return
PRETTY.modified_file(dst_absolute)