Skip to content

Modification time of unchanged files are changed #827

@dundargoc

Description

@dundargoc

Hello. I noticed that the modification time of files that are "unchanged" are still changed. This causes our buildsystem to always run stylua even when it's not needed, since it uses modification time to determine whether a file has been changed or not. I would like to make the feature request to only change modification time if the file is actually changed and not otherwise. Thank you for your time!

Inpsired by this PR: neovim/neovim#26393

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions