summary refs log tree commit diff
path: root/.git-blame-ignore-revs
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-03-09 07:34:55 -0500
committerGitHub <noreply@github.com>2021-03-09 07:34:55 -0500
commit3ce650057d3dcbca66ac9fb672594580f29c6e37 (patch)
treef2b6d9b0a3e43c024b16f3549de2bf8b50537822 /.git-blame-ignore-revs
parentFixup sample config (diff)
downloadsynapse-3ce650057d3dcbca66ac9fb672594580f29c6e37.tar.xz
Add a list of hashes to ignore during git blame. (#9560)
The hashes are from commits due to auto-formatting, e.g. running black.

git can be configured to use this automatically by running the following:

    git config blame.ignoreRevsFile .git-blame-ignore-revs
Diffstat (limited to '.git-blame-ignore-revs')
-rw-r--r--.git-blame-ignore-revs8
1 files changed, 8 insertions, 0 deletions
diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
new file mode 100644
index 0000000000..83ddd568c2
--- /dev/null
+++ b/.git-blame-ignore-revs
@@ -0,0 +1,8 @@
+# Black reformatting (#5482).
+32e7c9e7f20b57dd081023ac42d6931a8da9b3a3
+
+# Target Python 3.5 with black (#8664).
+aff1eb7c671b0a3813407321d2702ec46c71fa56
+
+# Update black to 20.8b1 (#9381).
+0a00b7ff14890987f09112a2ae696c61001e6cf1