mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Touch files with same content to update timestamps
This commit is contained in:
parent
f614b95a00
commit
fdb57884ed
@ -65,6 +65,8 @@ class Organizer(Location):
|
|||||||
# Bail out, nothing more to do
|
# Bail out, nothing more to do
|
||||||
PRETTY.ignored_file(dst_absolute, "same file contents")
|
PRETTY.ignored_file(dst_absolute, "same file contents")
|
||||||
self.mark(dst)
|
self.mark(dst)
|
||||||
|
# Touch it to update the timestamp
|
||||||
|
dst_absolute.touch()
|
||||||
return
|
return
|
||||||
|
|
||||||
PRETTY.modified_file(dst_absolute)
|
PRETTY.modified_file(dst_absolute)
|
||||||
|
Loading…
Reference in New Issue
Block a user