From 9aee510ce0e311697977512abb61ca8d7e7d8d93 Mon Sep 17 00:00:00 2001 From: "Dustin L. Howett" Date: Tue, 15 Nov 2022 18:49:57 -0600 Subject: [PATCH] Add .git-blame-ignore-revs to make GitHub's blame view nicer (#14394) 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. --- .git-blame-ignore-revs | 15 +++++++++++++++ 1 file changed, 15 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..f76ffa6c2d --- /dev/null +++ b/.git-blame-ignore-revs @@ -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