Skip to content

Commit 5fb4091

Browse files
committed
Introduce a ignore-rev file for better blaming experience
rails@80e66cc: 11,638 additions and 11,661 deletions There are some commits in rails that touch a large amount of files and are cosmetic only. This file will do two things: * Blaming through the GitHub UI will not blame these commits * Locally you can use it with `--ignore-revs-file` https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt There surely are more commits worthy of being included here but I just ran into this one once again and would like to not do that again. This comment gets linked to quite often rails#13771 (comment) and while there seldom are large cosmetic changes, they do exist. Let's make the ones that did happen a bit less painful.
1 parent f8d74e2 commit 5fb4091

File tree

1 file changed

+86
-0
lines changed

1 file changed

+86
-0
lines changed

.git-blame-ignore-revs

+86
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# Changes that are cosmetic and do not add anything substantial
2+
# to the stability, functionality, or testability of Rails will
3+
# generally not be accepted. Read more about our rationale behind
4+
# this decision: https://github.com/rails/rails/pull/13771#issuecomment-32746700
5+
6+
# normalizes indentation and whitespace across the project
7+
80e66cc4d90bf8c15d1a5f6e3152e90147f00772
8+
# applies new string literal convention in *
9+
adca8154c6ffce978a5dbc514273cceecbb15f8e
10+
9ed740449884ba5841f756c4a5ccc0bce8f19082
11+
92e2d16a3c75d549fcd9422a31acd3323b74abaa
12+
78d3f84955bccad0ab161c5f2b4c1133813161a3
13+
6b3719b7577ab81171bab94a0492ae383dd279fe
14+
8b4e6bf23338e2080af537ea4f295e65a1d11388
15+
783763bde97bea3d0c200038453008a8cfff1e88
16+
69ab3eb57e8387b0dd9d672b5e8d9185395baa03
17+
f8477f13bfe554064bd25a57e5289b4ebaabb504
18+
b678eb57e93423ac8e2a0cc0b083ce556c6fb130
19+
b91ff557ef6f621d1b921f358fd5b8a5d9e9090e
20+
c3e7abddfb759eecb30cd59f27103fda4c4827dc
21+
35b3de8021e68649cac963bd82a74cc75d1f60f0
22+
628e51ff109334223094e30ad1365188bbd7f9c6
23+
4b6c68dfb810c836f87587a16353317d1a180805
24+
66a7cfa91045e05f134efc9ac0e226e66161e2e6
25+
bde6547bb6a8ddf18fb687bf20893d3dc87e0358
26+
93c9534c9871d4adad4bc33b5edc355672b59c61
27+
4c208254573c3428d82bd8744860bd86e1c78acb
28+
18a2513729ab90b04b1c86963e7d5b9213270c81
29+
9617db2078e8a85c8944392c21dd748f932bbd80
30+
4df2b779ddfcb27761c71e00e2b241bfa06a0950
31+
a731125f12c5834de7eae3455fad63ea4d348034
32+
d66e7835bea9505f7003e5038aa19b6ea95ceea1
33+
e6ab70c439301d533f14b3387ee181d843a86b30
34+
# modernizes hash syntax in *
35+
1607ee299d15c133b2b63dcfc840eddfba7e525b
36+
477568ee33bee0dc5e57b9df624142296e3951a4
37+
5c315a8fa6296904f5e0ba8da919fc395548cf98
38+
d22e522179c1c90e658c3ed0e9b972ec62306209
39+
fa911a74e15ef34bb435812f7d9cf7324253476f
40+
301ce2a6d11bc7a016f7ede71e3c6fd9fa0693a3
41+
63fff600accb41b56a3e6ac403d9b1732de3086d
42+
5b6eb1d58b48fada298215b2cccda89f993890c3
43+
12a70404cd164008879e63cc320356e6afee3adc
44+
60b67d76dc1d98e4269aac7705e9d8323eb42942
45+
# [Tests only] Enable Minitest/AssertPredicate rule
46+
19f8ab2e7d60dcdfd7664d6bea3a9fae55a3618c
47+
# Standardize nodoc comments
48+
18707ab17fa492eb25ad2e8f9818a320dc20b823
49+
# Add Style/RedundantFreeze to remove redudant .freeze
50+
aa3dcabd874a3e82e455e85a1c94a7abaac2900a
51+
# Enable Performance/UnfreezeString cop
52+
1b86d90136efb98c7b331a84ca163587307a49af
53+
# Arel: rubocop -a
54+
4c0a3d48804a363c7e9272519665a21f601b5248
55+
# Add more rubocop rules about whitespaces
56+
fe1f4b2ad56f010a4e9b93d547d63a15953d9dc2
57+
# Add three new rubocop rules
58+
55f9b8129a50206513264824abb44088230793c2
59+
# applies remaining conventions across the project
60+
b326e82dc012d81e9698cb1f402502af1788c1e9
61+
# remove redundant curlies from hash arguments
62+
411ccbdab2608c62aabdb320d52cb02d446bb39c
63+
# Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} ;)
64+
b95d6e84b00bd926b1118f6a820eca7a870b8c35
65+
b451de0d6de4df6bc66b274cec73b919f823d5ae
66+
# Replace assert ! with assert_not
67+
a1ac18671a90869ef81d02f2eafe8104e4eea34f
68+
# Use respond_to test helpers
69+
0d50cae996c51630361e8514e1f168b0c48957e1
70+
# Change refute to assert_not
71+
211adb47e76b358ea15a3f756431c042ab231c23
72+
# Use assert_predicate and assert_not_predicate
73+
94333a4c31bd10c1f358c538a167e6a4589bae2d
74+
# Use assert_empty and assert_not_empty
75+
82c39e1a0b5114e2d89a80883a41090567a83196
76+
# Remove extra whitespace
77+
fda1863e1a8c120294c56482631d8254ad6125ff
78+
# Reduce string objects by using \ instead of + or << for concatenating strings
79+
b70fc698e157f2a768ba42efac08c08f4786b01c
80+
# Hash Syntax to 1.9 related changes
81+
eebb9ddf9ba559a510975c486fe59a4edc9da97d
82+
be4a4cd38ff2c2db0f6b69bb72fb3557bd5a6e21
83+
d20a52930aa80d7f219465d6fc414a68b16ef2a8
84+
3c580182ff3c16d2247aabc85100bf8c6edb0f82
85+
5ad7f8ab418f0c760dbb584f7c78d94ce32e9ee3
86+
a2c843885470dddbad9430963190464a22167921

0 commit comments

Comments
 (0)