Skip to content

Commit

Permalink
Add .git-blame-ignore-revs to allow ignoring sweeping formatting chan…
Browse files Browse the repository at this point in the history
…ges (llvm#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>
```
  • Loading branch information
qedawkins authored Jan 29, 2024
1 parent 494089d commit 1d6aca3
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 @@
# 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

0 comments on commit 1d6aca3

Please sign in to comment.