Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Exclude big changes from file annotations #10588

Merged
merged 1 commit into from
Jan 6, 2022

Conversation

wigy-opensource-developer
Copy link
Contributor

@wigy-opensource-developer wigy-opensource-developer commented Jan 5, 2022

You can now easily exclude big automated code changes by running

git config blame.ignoreRevsFile .git-blame-ignore-revs

in your local repository. It will work also in IDE integrations.

You should add new commit hashes to this file when you create or find such big automated refactorings while reading code history. If you only know the short hash, use git rev-parse eeccbf39 to expand it to the full hash needed in this file.

On versions of Git 2.20 and later comments (#), empty lines, and any leading and trailing whitespace is ignored. Everything but a SHA-1 per line will error out on older versions.

@wigy-opensource-developer wigy-opensource-developer added A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Jan 5, 2022
.git-blame-ignore-revs Outdated Show resolved Hide resolved
@bkchr
Copy link
Member

bkchr commented Jan 6, 2022

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot
Copy link

Bot will approve on the behalf of @bkchr, since they are a team lead, in an attempt to reach the minimum approval count

@paritytech-processbot paritytech-processbot bot merged commit d642f5e into master Jan 6, 2022
@paritytech-processbot paritytech-processbot bot deleted the wigy-blame-ignorerevs branch January 6, 2022 10:12
grishasobol pushed a commit to gear-tech/substrate that referenced this pull request Mar 28, 2022
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants