8000 DEV: Add .git-blame-ignore-revs to ignore style in blame view · matplotlib/matplotlib@9a70fb3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9a70fb3

Browse files
DEV: Add .git-blame-ignore-revs to ignore style in blame view
Add a git blame ignore-revs file to automatically ignore commits listed in it from the blame view on GitHub. Include in it style changes added by pre-commit hooks which touch multiple files. To ignore the commits in the .git-blame-ignore-revs when running `git blame` locally run: `git blame --ignore-revs-file .git-blame-ignore-revs`. c.f.: * https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt * https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
1 parent 1a36dc8 commit 9a70fb3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.git-blame-ignore-revs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# style: end-of-file-fixer pre-commit hook
2+
b372d66ab9e9aa30573f240d87a6ea92474cce75
3+
4+
# style: trailing-whitespace pre-commit hook
5+
0f0a977d8aaba773570dff8f828c358df22203aa
6+
7+
# style: check-docstring-first pre-commit hook
8+
1a36dc83af39159749ce5857eca6ddacd345e6bb

0 commit comments

Comments
 (0)
0