Skip to content

Commit

Permalink
Ignore format commit from git blame
Browse files Browse the repository at this point in the history
# Motivation

We just adopted `swift-format` in #2794. To avoid blame showing this format commit we can use a `.git-blame-ignore-revs` file.

# Modification

This PR adds a `.git-blame-ignore-revs` and puts the formatting commit into it.

# Result

Helps in blaming the right person ;)
  • Loading branch information
FranzBusch committed Jul 19, 2024
1 parent c9756e1 commit 0e4c997
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Adopt swift-format
c9756e108351a1def2e2c83ff5ee6fb9bcbc3bbf

0 comments on commit 0e4c997

Please sign in to comment.