Skip to content

Add a fast path for the check-vcs-permalinks hook #1833

@Jackenmen

Description

@Jackenmen

This check helps prevent the code from containing links to files on branches (since the branch content can change over time). Permalinks (i.e. links to files on a specific commit) are immune to that problem.

Link to description:
https://github.com/pre-commit/pre-commit-hooks/tree/main?tab=readme-ov-file#check-vcs-permalinks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions