Closed Zapeth closed 2 years ago
Your idea makes sense, but I’m not sure it’s worth the complexity. Besides, most Unix tools would change the timestamp under these circumstances. See sed -i, or any text editor: even when unchanged, the file is rewritten.
Using a tagname that doesn't exist when deleting a tag, or trying to delete a tag twice doesn't modify the file contents, but it changes the file timestamps.
It would be better if opustags could check whether any tag changes would be made, and only change the file timestamps if thats the case.