Files
releases/cmd
Loïc Rosso 3ede316faa feat: do not overwrite file on fmt without changes (#8223)
* feat: do not overwrite file on fmt without changes

When no changes are detected, avoid unnecessary rewrite.

It also help fmt CI tools not to see modified files like treefmt

Signed-off-by: Loïc Rosso <37541460+Loic-R@users.noreply.github.com>

* chore: add tests

Signed-off-by: Loïc Rosso <37541460+Loic-R@users.noreply.github.com>

* chore: fix tests by adding 2 sec sleep time

Signed-off-by: Loïc Rosso <37541460+Loic-R@users.noreply.github.com>

* chore: reduce sleep time, add permission check and better naming

Co-authored-by: Charlie Egan <charlie_egan@apple.com>
Signed-off-by: Loïc Rosso <37541460+Loic-R@users.noreply.github.com>

---------

Signed-off-by: Loïc Rosso <37541460+Loic-R@users.noreply.github.com>
Co-authored-by: Charlie Egan <charlie_egan@apple.com>
2026-01-20 16:54:26 +00:00
..
2025-10-10 17:51:02 +02:00
2025-07-24 11:33:23 +02:00
2025-07-24 11:33:23 +02:00
2025-07-24 11:33:23 +02:00
2024-12-12 15:27:34 +01:00
2025-10-10 17:51:02 +02:00
2025-08-25 20:02:01 +02:00
2024-12-12 15:09:03 +01:00
2025-07-24 11:33:23 +02:00
2025-07-24 11:33:23 +02:00
2025-10-10 17:51:02 +02:00
2025-07-24 11:33:23 +02:00
2025-10-10 17:51:02 +02:00
2025-07-24 11:33:23 +02:00