Skip to content

Add version tag to be referenced by pre-commit #8

Description

@b1ackviking

When I try to use the hook as described in the readme, pre-commit issues the following warning message:

[WARNING] The 'rev' field of repo 'https://github.com/doublify/pre-commit-clang-format'
          appears to be a mutable reference (moving tag / branch). 
          Mutable references are never updated after first install and are not supported. 
          See https://pre-commit.com/#using-the-latest-version-for-a-repository for more details.

This basically means that using rev: master is wrong.

Although the hook does not seem to be frequently updated, it is sad to see this warning every time I commit. I suggest adding a 1.0 tag to the current HEAD of the repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions