Repository navigation
chore: ignore older formatting commits in git blame (AI-assisted) - #12650
Merged
Merged
Conversation
Add the Prettier to oxfmt migration (#11824), the 2019 Prettier run on Markdown files (#2102) and a 2018 CRLF to LF line endings fix. Co-Authored-By: Claude Opus 5.5 <[email protected]>
✅ [V2]
To edit notification comments on pull requests, go to your Netlify project configuration. |
⚡️ Lighthouse report for the deploy preview of this PR
|
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.
Pre-flight checklist
Motivation
Follow-up of #12590: add older formatting commits to
.git-blame-ignore-revs(AI-assisted).I blamed every file on
mainand kept only formatting commits that still own lines today:190ef6fa5da1de6dab04--ignore-cr-at-eol55e676cb25Like
f144233f5c, #11824 also includes about 30 lines of tooling changes (scripts, workflow step names, AGENTS.md). Ignoring those few lines in blame is acceptable. The files it created (.oxfmtrc.json, etc.) stay attributed to it.Not added:
LinkPropstype. Ignoring it attributes the new lines to unrelated 2020 commits.node:protocol, React imports): they change the line content, so blaming them is accurate.Test Plan
With
git config blame.ignoreRevsFile .git-blame-ignore-revs, each commit is skipped:admin/new.docusaurus.io/netlify.tomlline 6:190ef6fa5d→700a82aefepackages/docusaurus-mdx-loader/README.mdline 22:55e676cb25→af059e61depackages/docusaurus-plugin-content-docs/src/__tests__/__fixtures__/simple-site/docs/foo/bar.mdline 1:a1de6dab04→d80a2555c0Test links
Deploy preview: https://deploy-preview-12650--docusaurus-2.netlify.app/
No site change.
Related issues/PRs
🤖 Generated with Claude Code