Skip to content

Commit 962c128

Browse files
committed
Add .git-blame-ignore-revs file to ignore specific commits in git blame
This commit introduces a `.git-blame-ignore-revs` file to the repository. The purpose of this file is to list specific commit hashes that should be ignored when using the `git blame` command. This is useful for ignoring commits that involve large-scale formatting changes, refactoring, or other non-functional changes that would otherwise clutter the blame history. I added a couple of previous commit hashes which reformatted the code. Configure this repository to use this file: git config --local blame.ignoreRevsFile .git-blame-ignore-revs
1 parent fe4d492 commit 962c128

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.git-blame-ignore-revs

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# 2014
2+
# flake8-cleanliness in missing
3+
e21c04e9125a28ae0452374acf03d93315eb4381
4+
5+
# 2016
6+
# Removed unicode_literals from library, logging and mediafile
7+
43572f50b0eb3522239d94149d91223e67d9a009
8+
# Removed unicode_literals from plugins
9+
53d2c8d9db87be4d4750ad879bf46176537be73f
10+
# reformat flake8 errors
11+
1db46dfeb6607c164afb247d8da82443677795c1
12+
13+
# 2021
14+
# pyupgrade root
15+
e26276658052947e9464d9726b703335304c7c13
16+
# pyupgrade beets dir
17+
6d1316f463cb7c9390f85bf35b220e250a35004a
18+
# pyupgrade autotag dir
19+
f8b8938fd8bbe91898d0982552bc75d35703d3ef
20+
# pyupgrade dbcore dir
21+
d288f872903c79a7ee7c5a7c9cc690809441196e
22+
# pyupgrade ui directory
23+
432fa557258d9ff01e23ed750f9a86a96239599e
24+
# pyupgrade util dir
25+
af102c3e2f1c7a49e99839e2825906fe01780eec
26+
# fix unused import and flake8
27+
910354a6c617ed5aa643cff666205b43e1557373
28+
# pyupgrade beetsplug and tests
29+
1ec87a3bdd737abe46c6e614051bf9e314db4619
30+
31+
# 2022
32+
# Reformat flake8 config comments
33+
abc3dfbf429b179fac25bd1dff72d577cd4d04c7
34+
35+
# 2023
36+
# Apply formatting tools to all files
37+
a6e5201ff3fad4c69bf24d17bace2ef744b9f51b
38+
39+
# 2024
40+
# Reformat the codebase
41+
85a17ee5039628a6f3cdcb7a03d7d1bd530fbe89
42+
# Fix lint issues
43+
f36bc497c8c8f89004f3f6879908d3f0b25123e1
44+
# Remove some lint exclusions and fix the issues
45+
5f78d1b82b2292d5ce0c99623ba0ec444b80d24c

0 commit comments

Comments
 (0)