Skip to content

Commit

Permalink
Add .git-blame-ignore-revs file
Browse files Browse the repository at this point in the history
The file contains the list of commits to ignore for `git blame`. For
now, it contains the commit which reformatted all source files to comply
with PEP8.

Usage:
    git blame --ignore-revs-file .git-blame-ignore-revs

The name is chosen on purpose as it is supported by GitHub [1].

[1] https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
  • Loading branch information
viktormalik committed Feb 7, 2023
1 parent c9ce911 commit d7aadff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# .git.blame.ignore.revs
# Formatted the entire codebase to comply with PEP8
5610b63dbd9d5d8d6b61242ec722615bf61ac5a3

0 comments on commit d7aadff

Please sign in to comment.