Skip to content

Suggest using .git-blame-ignore-revs when adopting ktfmt #651

Description

@qwwdfsad

Git has --ignore-revs-file option that allows skipping particular commits during git blame.

By convention, GitHub expects a root .git-blame-ignore-revs file to be used as --ignore-revs-file, as well as GitLab, Black [also] recommends using it.

It would be nice to recommend this approach in the README, both for formatter adopters and for backwards-incompatible changes in the formatter (e.g. #293)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions