Skip to content

Commit 75d712a

Browse files
committed
Add .git-blame-ignore-revs
This adds a file to ignore most formatting commits in `git blame`. These commits usually are not interesting, and being able to skip them makes it a little easier to traverse a blame history. This is a feature natively supported by GitHub automatically to ignore these. When running locally, you need to first configure git to use it. I was a little on the fence on which PRs to include here. Many of these are small and probably not too important. However, instead of trying to figure out some threshold of "is this large enough", I decided to just include all of them. I checked these by visually looking at each commit and briefly checking that it didn't seem to include any non-formatting changes. I think it would be nice to try to keep commits a little cleaner in the future, and avoid merging PRs that have things like this (unless it is due to a change in rustfmt itself). I admit I don't always enforce it since it can be a significant drag, though.
1 parent bffece8 commit 75d712a

File tree

1 file changed

+156
-0
lines changed

1 file changed

+156
-0
lines changed

.git-blame-ignore-revs

Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
# Use `git config blame.ignorerevsfile .git-blame-ignore-revs` to make `git blame` ignore the following commits.
2+
3+
# refactor: rustfmt for tracing
4+
e84cc17db6ac48620e2723f51bce0703f5590060
5+
# Rustfmt with latest nightly.
6+
43c253e69a20321cdfd73d632fa5ec641b1aace3
7+
# reformat with rustfmt
8+
df62c36b214449003997d8ee630c7d5c1c08a90c
9+
# rustfmt
10+
c973a6d0af55785f3072623b4d29127051a84b90
11+
# Apply rustfmt
12+
ebd0d58c1c11f98e804c80b3378d00f9e1000a95
13+
# rustfmt
14+
4787dd3acfb32c6d608342bca115094e1ed866e7
15+
# Fix for rustfmt
16+
ad44f0e898721f35173b59f32dae344b964dff22
17+
# rustfmt
18+
b9554f37abe4f802dd615a550773105a8b2eb386
19+
# Normalize raw string indentation.
20+
6f8c7d5a87526d10e3bbfa4098a1002076386068
21+
# rustfmt
22+
dcae5fcf2dc6e040d1cadac14276fd306c058b74
23+
# Rustfmt
24+
0dfdba6f7a7702a7f45d523b028c896084411de8
25+
# Run rustfmt
26+
e06a911de616b3f402f1e142b5202445d333f4eb
27+
# rustfmt
28+
d02f476804ae73d79059e3243ecb4c814f53bea1
29+
# Update for nightly rustfmt.
30+
4b6c26dd16786b416190bd0a36e7646d33b9846a
31+
# Run rustfmt
32+
d0430dd2b11e6ac004e8f39a712ee6425b81e12d
33+
# Run rustfmt
34+
c56cb4287fa98a42dafea36d0b88bb4441f63c1f
35+
# Run rustfmt
36+
c3f8cd3cd2999949c49c8f0e76108ffe7a37bec0
37+
# Run code through rustfmt
38+
648b39e98101f9b6417fc6ebc88fa7f397a5f509
39+
# Run rustfmt
40+
ba81441f297c6d9799473a62af021236b8bc9ed8
41+
# Wrap some really long lines.
42+
d6d15141f8ef21f1cebeaa4d42606f29e7d00239
43+
# rustfmt for nightly changes.
44+
384c311692e6ff537b51bcf57f804b917a702c9c
45+
# Rustfmt lint
46+
9dc70a3dabb291052a4d117b8348c9b461d1b570
47+
# Run rustfmt
48+
3a6cd74434cc1fdd57266740d4827ed162580005
49+
# rustfmt, even if I disagree
50+
189fef1173118ee3be47fa59e22fd2d21bb05bbd
51+
# Fix zalgo formatting.
52+
56f8848a51e5db5214ec27bb41c7d99ebac21af8
53+
# Rustfmt adjustments
54+
a50be59a70af64b83c07f40bc2faef80a73bc908
55+
# Run rustfmt
56+
ebd10526f3526b695872a8ecb381f65aaf74c019
57+
# Rustfmt fixes
58+
ac2a4382ee5d927d917df026d2236ff5cd668717
59+
# Rustfmt fixes
60+
fc4ee774483dc6b40f1edbd259879dc4cbcf20a5
61+
# Fixed formatting with rustfmt
62+
a82de176952f7c244adbd392d444baaafdfc819c
63+
# Fix some formatting for some strings.
64+
a4e9611453cb4ba3f9bcc34f2851546f57152229
65+
# fix(fingerprint): rustfmt
66+
009876a88af659c10b022ec4c4956f77b983d531
67+
# Make rustfmt happy
68+
2415a2980f455238e9422cc07abcfa4cbec9be6b
69+
# run rustfmt
70+
dac967ce27d4eeb496dcd98ba91641fbe29df957
71+
# $cargo fmt --all
72+
db09895f3c123c36e05175e2c0273bf487068b37
73+
# Reformat everything with rustfmt from stable 1.26
74+
d85336084d8855bfbfd431b85beaa5c094dc5e72
75+
# rustfmt
76+
a4947c2b47fd38857c7332d333fda7bcc405de0c
77+
# rustfmt
78+
404970f2261e2d6c9ba4eac410065fa6226271d9
79+
# Prettify rustfmted single-line strings
80+
b0c181d91ccfe1d27d4c7133049a6bfe5bacf29b
81+
# cargo fmt
82+
1e6828485eea0f550ed7be46ef96107b46aeb162
83+
# rustfmt for bin/cargo.rs
84+
ef4c09f986c0b1f701c765d894da911c2de44724
85+
# rustfmt cargo_doc.rs
86+
87124d5ade897b3fb38ce5cd0a2f19a9038dd8a7
87+
# run rustfmt on core/source.rs
88+
76fb87e2bab025acaff2d6dd919dde0e328267da
89+
# cargo fmt
90+
7a67e88baf0f73196973cadf887bf9a31c13e95f
91+
# cargo fmt
92+
7a6ff7f068acde98230d712637e934c58fc84805
93+
# cargo fmt
94+
7c8ee49bffdeeb138db5e22f14abbf88cf99c547
95+
# cargo fmt
96+
72d6c5411a215ce5ab0ff22b1e1e1525883b7c33
97+
# rust fmt
98+
ddd5c83b8cf63458bf67ae504bb289ed4e987d38
99+
# cargo fmt
100+
1179e7ef6b88a6940168cbc2e806d48ed20d92ef
101+
# cargo fmt
102+
0c07056bfeffee213e21cdf1e48875f59f834282
103+
# cargo fmt
104+
c7a79be6f8a8da1d6dee54fe3f5c137d293692b0
105+
# cargo fmt
106+
1839ded4aa5607d3564f02b36e517289ad6ed8e8
107+
# cargo fmt
108+
f2b5271a09a13f89a50861ebd71da333836bded3
109+
# Run `cargo fmt --all`
110+
3aa99422ca7808f1bc5621fda3a8f32f27273d9b
111+
# cargo fmt
112+
4538ade2d55d7353cfac8a0ce320e3c4a29bc450
113+
# style: cargo fmt
114+
3d042688a851d985013ee8ff64a9caef47b7b495
115+
# run cargo fmt to pass the CI build
116+
a4e3b81a55b8c142ab1b84f4f209414a72727e86
117+
# Run 'cargo fmt'
118+
60afaa77335ab464a5b6c913883ad145ae97d750
119+
# Run 'cargo fmt'
120+
511050baefa2ec21c2be8c3eaee2aade1da2c06b
121+
# cargo fmt
122+
577968e44828457dfa62fc10ccd29f42a359b746
123+
# cargo fmt
124+
d0f7c0ee31c81cd405dc2c163e4ca7638895610c
125+
# appease cargo fmt
126+
c4922052fc7470264f3df491213f74142ac67ebf
127+
# named-profiles: formatting fixes from 'cargo fmt'
128+
29b7e90ba37f311baaf448894bbf04721bed5791
129+
# cargo fmt
130+
f39302f432f62e29910c876f766eb8a324cee843
131+
# cargo fmt
132+
6b07c8da63c0896cc31fa6cb8b47a71fe29c88e2
133+
# run cargo fmt --all
134+
b48ae60e67096f7cda80a17dfa2a9ff7a916bbf7
135+
# $cargo fmt --all
136+
63a9c7aa6d54ff0580288f1a01795a29b3ea1c75
137+
# Run `cargo fmt`
138+
f16efff1509be313f4bed825e7ab974673dd03fc
139+
# cargo fmt tests/testsuite/rustflags.rs
140+
3ca98adbbac5752cdef337f5ac803e7843ab601a
141+
# Format with `cargo fmt`
142+
fecb72464328846dacd0ff8252d105b7818733ab
143+
# cargo fmt
144+
9b2295d11fd2816aa3032403a88d7c055cd2cf58
145+
# Run `cargo fmt`
146+
5d201944d7aba8380082dcb9e0c340d92e92850f
147+
# Correct formatting with cargo fmt
148+
90954d700ccb71b3df6ecf8ff83891dd3570f887
149+
# Correct formatting with cargo fmt
150+
5c241e102756e340991365d7b376997a9ae95f62
151+
# Fix formatting issues with cargo fmt
152+
5c7979cdf879a6cc9011432098f7ef68ed7f5e37
153+
# cargo fmt
154+
a6ad2de0484f1910d42793f3ec73b111403099b7
155+
# cargo fmt
156+
b0fbc89c33780ca3e1f2bfeacc67922ee7abe1dc

0 commit comments

Comments
 (0)