mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 15:35:05 +02:00
Touch files with same content to update timestamps
This commit is contained in:
parent
f614b95a00
commit
fdb57884ed
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue