Add .git-blame-ignore-revs to ignore linting and formatting commits#9422
Open
Add .git-blame-ignore-revs to ignore linting and formatting commits#9422
Conversation
Ignore the commits related to linting and formatting.
aemous
requested changes
Apr 14, 2025
| # PR 9374 | ||
| d745ec22a88511414fb4a56292552a4dd2f9a5fb | ||
|
|
||
| # PR 9373 |
Contributor
There was a problem hiding this comment.
Looks like this PR was a squash + merge. The squashed commit that got merged into v2 was 6f5207d707e824f968f307395188d08a0de8344f. Neither of these 2 commits were actually merged to v2 due to being squashed.
Do you mind (1) replacing these 2 commit SHAs with the squashed one and (2) verify that all the other squashed+merged PRs in this file use the squashed commit SHA rather than the individual commits?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Issue #, if available:
Description of changes:
Ignore the commits related to linting and formatting when doing a
git blame. This takes affect in GitHub and can be used in code editors as well. Note that if a previous commit cannot be identified on a line,git blamemay still show changes from commits in this ignore file.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.