-
-
Notifications
You must be signed in to change notification settings - Fork 101
/
.git-blame-ignore-revs
82 lines (78 loc) · 3.59 KB
/
.git-blame-ignore-revs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# `git blame` master ignore list.
#
# This file contains a list of git hashes of revisions to be ignored
# by `git blame`. These revisions are considered "unimportant" in
# that they are unlikely to be what you are interested in when blaming.
# They are typically expected to be formatting-only changes.
#
# It can be used for `git blame` using `--ignore-revs-file` or by
# setting `blame.ignoreRevsFile` in the `git config`[1].
#
# Ignore these commits when reporting with blame. Calling
#
# git blame --ignore-revs-file .git-blame-ignore-revs
#
# will tell `git blame` to ignore changes made by these revisions when
# assigning blame, as if the change never happened.
#
# You can enable this as a default for your local repository by
# running
#
# git config blame.ignoreRevsFile .git-blame-ignore-revs
#
# This will probably be automatically picked by your IDE
# (VSCode+GitLens and JetBrains products are confirmed to do this).
#
# Important: if you are switching to a branch without this file,
# `git blame` will fail with an error.
#
# GitHub also excludes the commits listed below from its "Blame"
# views[2][3].
#
# [1]: https://git-scm.com/docs/git-blame#Documentation/git-blame.txt-blameignoreRevsFile
# [2]: https://github.blog/changelog/2022-03-24-ignore-commits-in-the-blame-view-beta/
# [3]: https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
#
# Guidelines:
# - Only large (generally automated) reformatting or renaming PRs
# should be added to this list. Do not put things here just because
# you feel they are trivial or unimportant. If in doubt, do not put
# it on this list.
# - When adding a single revision, use a comment on top of the line
# to link relevant issue/PR. Alternatively, paste the commit title
# instead.
# Example:
# # https://github.com/sanitizers/octomachinery/issues/1
# d4a8b7307acc2dc8a8833ccfa65426ad28b3ffc9
# - When adding multiple revisions (like a bulk of work over many
# commits), organize them in blocks. Precede each such block with a
# comment starting with the word "START", followed by a link to the
# relevant issue or PR. Add a similar comment after the last block
# line but use the word "END", followed by the same link.
# Alternatively, add or augment the link with a text motivation and
# description of work performed in each commit.
# Before each individual commit in the block, add an inline comment
# with the commit title line.
# Example:
# # START https://github.com/sanitizers/octomachinery/issues/1
# # Bulk-replace smile emojis with unicorns
# 6f0bd2d8a1e6cd2e794cd39976e9756e0c85ac66
# # Replace double with single quotes
# d53974df11dbc22cbea9dc7dcbc9896c25979a27
# ... <rest of the list>
# # END https://github.com/sanitizers/octomachinery/issues/1
# - Only put full 40-character hashes on this list (not short hashes
# or any other revision reference).
# - Append to the bottom of the file, regardless of the chronological
# order of the revisions. Revisions within blocks should be in
# chronological order from oldest to newest.
# - Because you must use a hash, you need to append to this list in a
# follow-up PR to the actual reformatting PR that you are trying to
# ignore. This approach helps avoid issues with arbitrary rebases
# and squashes while the pull request is in progress.
# 💅 Format typing & python modules
61c6f6d80f209116edabfd745f3175d4a0c8538d
# 👺 Please the formatter @ `tests/conftest.py`
568144732ac023f8629510939c5470fec3440e68
# 👺 Format `gen_pickles.py` and `test_istr.py`
0a27de369f963cf4b233d2f898ebb7898267acf7