Skip to content

Commit ba4c159

Browse files
Add .git-blame-ignore-revs for cleaner git blame (#5078)
- Created .git-blame-ignore-revs file to exclude mass formatting commits - Added automatic git config in package.json prepare script - Excluded litegraph migration formatting commit (10k+ line changes) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
1 parent 29ae9b4 commit ba4c159

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.git-blame-ignore-revs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# .git-blame-ignore-revs
2+
# List of commits to ignore in git blame
3+
# Format: <commit hash> # <description>
4+
5+
# npm run format on litegraph merge (10,672 insertions, 7,327 deletions across 129 files)
6+
c53f197de2a3e0fa66b16dedc65c131235c1c4b6

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"test:browser": "npx playwright test",
2020
"test:unit": "vitest run tests-ui/tests",
2121
"test:component": "vitest run src/components/",
22-
"prepare": "husky || true",
22+
"prepare": "husky || true && git config blame.ignoreRevsFile .git-blame-ignore-revs || true",
2323
"preview": "vite preview",
2424
"lint": "eslint src --cache",
2525
"lint:fix": "eslint src --cache --fix",

0 commit comments

Comments
 (0)