Skip to content

Commit

Permalink
Add .git-blame-ignore-revs and seed with clang-format commit
Browse files Browse the repository at this point in the history
We can include in this file commits which do mechanical changes like
linting that are rarely of value when tracing through history. You can
then tell `git blame` to ignore those commits using:

```
git config blame.ignoreRevsFile .git-blame-ignore-revs
```

The GitHub blame UI automatically does this.

Closes: #3963
  • Loading branch information
jlebon authored and cgwalters committed Aug 25, 2022
1 parent 80bb67c commit aea8432
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Run through `clang-format`:
# https://github.com/coreos/rpm-ostree/pull/3475
be45a74d0802c764d04cdfc6f3bcc12872b3bb33

0 comments on commit aea8432

Please sign in to comment.