From ca8ab999088f2df2e59ef79bdd8eeecbe8ac0051 Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Thu, 11 Jan 2024 09:33:22 -0500 Subject: [PATCH] .git-blame-ignore-revs: Ignore Line Ending and Uncrustify only commits (#404) ## Description 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. - [ ] Impacts functionality? - **Functionality** - Does the change ultimately impact how firmware functions? - Examples: Add a new library, publish a new PPI, update an algorithm, ... - [ ] Impacts security? - **Security** - Does the change have a direct security impact on an application, flow, or firmware? - Examples: Crypto algorithm change, buffer overflow fix, parameter validation improvement, ... - [ ] Breaking change? - **Breaking change** - Will anyone consuming this change experience a break in build or boot behavior? - Examples: Add a new library class, move a module to a different repo, call a function in a new library class in a pre-existing module, ... - [ ] Includes tests? - **Tests** - Does the change include any explicit test code? - Examples: Unit tests, integration tests, robot tests, ... - [ ] Includes documentation? - **Documentation** - Does the change contain explicit documentation additions outside direct code modifications (and comments)? - Examples: Update readme file, add feature readme file, link to documentation on an a separate Web page, ... ## How This Was Tested - `git blame` ## Integration Instructions N/A Signed-off-by: Michael Kubacki --- .git-blame-ignore-revs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000000..c253f14c3b --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,13 @@ +################################################### +# Line Ending Only Changes # +################################################### +# Convert line endings from LF to CRLF +e2c0b13609cf515b94c8148cad7c896aa0c23ab0 +# Fix Line Endings in Repo (LF -> CRLF) +8b6f8ff254a660c43d4370e2596798d813583975 + +################################################### +# Code Formatting (Uncrustify) Only Changes # +################################################### +# Uncrustify mu_plus +94adae1085b2bc358a8f89a78c0b9d07678e5b04