Skip to content

Commit

Permalink
.git-blame-ignore-revs: Ignore Line Ending and Uncrustify only commits
Browse files Browse the repository at this point in the history
Adds commits that only applied Uncrustify formatting or converted
line endings to a .git-blame-ignore-revs file so they are ignored
by git blame. This is supported by GitHub:
https://github.blog/changelog/2022-03-24-ignore-commits-in-the-blame-view-beta/

This helps clean up git blame by filtering out these changes.

Note: This file needs to be updated on rebase branches. Processes
      like filter-branch can automatically update relevant SHAs.

Signed-off-by: Michael Kubacki <[email protected]>
  • Loading branch information
makubacki committed Jan 11, 2024
1 parent 94fab9c commit 4aec0e9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
###################################################
# Line Ending Only Changes #
###################################################
# Fix Line Endings in Repo (LF -> CRLF)
c83c2f3466fd72086e4d4b443025441cb9fda6c0

###################################################
# Code Formatting (Uncrustify) Only Changes #
###################################################
# Uncrustify mu_plus
a54346d5b44fce5d595828a9031d1d3ec1fed77c

0 comments on commit 4aec0e9

Please sign in to comment.