Skip to content

protolint -fix always updates the timestamp of the file #452

@mrshmllow

Description

@mrshmllow
> stat file.proto
...
Modify: 2025-03-31 17:17:22.355492476 +1100
> /nix/store/7lz87mraw8kc4jzvhkyq5msz4gkqdilk-protolint-0.53.0/bin/protolint lint -fix file.proto
> stat ./wire/key_agent/src/keys.proto
...
Modify: 2025-03-31 17:25:13.945663258 +1100

This is problematic when checking if a file has been modified, such as using treefmt-nix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions