Skip to content

Commit

Permalink
Add .git-blame-ignore-revs to make GitHub's blame view nicer (#14394)
Browse files Browse the repository at this point in the history
Commits mentioned in this file will be acknowledged by GitHub, but
skipped in the blame view. Other tools use this as well.

You can make git use it by passing
`--ignore-revs-file .git-blame-ignore-revs` to `git blame`.

The only commits we're ignoring right now are codebase-wide reformatting
or line endings changes.
  • Loading branch information
DHowett authored Nov 16, 2022
1 parent c9aeea1 commit 9aee510
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Commits mentioned in this file will automatically
# be skipped by GitHub's blame view.
# To use it with "git", run
# > git blame --ignore-revs-file ./.git-blame-ignore-revs

# Reformatted the entire codebase
9b92986b49bed8cc41fde4d6ef080921c41e6d9e

# Line Endings changes
cb7a76d96c92aa9fc7b03f69148fb0c75dff191d
5bbf61af8c8f12e6c05d07a696bf7d411b330a67
d07546a6fef73fa4e1fb1c2f01535843d1fcc212

# UTF-8 BOM changes
ddae2a1d49d604487d3c963e5eacbeb73861d986

0 comments on commit 9aee510

Please sign in to comment.