Add .git-blame-ignore-revs to allow ignoring sweeping formatting changes (#2823)

This allows the following command to be used to ignore sweeping
formatting changes.

```
git blame --ignore-revs-file .git-blame-ignore-revs <file_of_interest>
```
pull/2827/head
Quinn Dawkins 2024-01-29 13:29:51 -05:00 committed by GitHub
parent 494089d53d
commit 1d6aca3823
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# This file contains the list of commits to exclude from 'git blame'.
# Such commits do not meaningfully contribute to git history, and include
# large-scale mechanical changes like code formatting style changes.
#
# To set this file as the default ignore file for 'git blame', run:
# ```shell
# git config blame.ignoreRevsFile .git-blame-ignore-revs
# ```
# Refresh clang-format
494089d53db4c183b3ba12e36f61ce1c7553984c