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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.