Skip to content

Commit 0adb53b

Browse files
committed
Add .git-blame-ignore-revs
The added `.git-blame-ignore-revs` file can be used with `git blame` to ignore certain commits when blaming, which is useful when we want to commit large formatting changes without messing up the output of `git blame`. Also, by adding this file to the repo `GitHub` will pick it up automatically and ignore the listed commits. Usage: `git blame --ignore-revs-file .git-blame-ignore-revs somefile.ext` However, it is highly recommended that you configure `git blame` locally to always ignore the commits specified in `.git-blame-ignore-revs`. You can do this by running the following from the repository's root: `git config blame.ignoreRevsFile .git-blame-ignore-revs`. From then on, you can just run `git blame somefile.ext` and ignoring will also work for git porcelains and integrations automatically.
1 parent 0e115dd commit 0adb53b

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

Diff for: .git-blame-ignore-revs

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
### NOTE
2+
# Run `git config blame.ignoreRevsFile .git-blame-ignore-revs`
3+
# from the repository's root to tell `git blame` to ignore
4+
# the commits below.
5+
6+
# Fourmolize with new version of fourmolu-0.13.1.0
7+
# CommitDate: Wed Jul 19 17:44:40 2023 +0100
8+
cda8146aee32e3c282f88bcd715cbf0e195287b2
9+
10+
# Fourmolize!
11+
# CommitDate: Wed Dec 28 13:59:33 2022 +0300
12+
9ff8a727d2d5ee4a6fdf6bb0eab4e139c545cc7c
13+
14+
# Ormolize with ormolu-0.4.0.0
15+
# CommitDate: Fri Mar 4 02:05:06 2022 +0300
16+
7599e835f8c6a437e0e481898575053069d94183
17+
18+
# Bump ormolu version and reformat.
19+
# CommitDate: Thu Nov 11 09:38:59 2021 +0100
20+
e52bd7226ebe0f5b0a8adb7e54e86969177fff90
21+
22+
# Apply `ormolu` to all Haskell files to ensure consistent formatting.
23+
# CommitDate: Thu Jul 15 23:41:34 2021 +0300
24+
db951c118c4658bd92580736c8b96c9f4a70aeb4
25+
26+
# New ormolu version changes format slightly
27+
# CommitDate: Mon Jun 22 11:55:11 2020 +0200
28+
ccf6d0efaff1a37218948040f42be92fa5bd4ed5
29+
30+
# Format with ormolu
31+
# CommitDate: Tue May 12 10:44:32 2020 +0200
32+
5e87a0fd32d5bdb2e82d90c5a76617ec46162404
33+
34+
# Add brittany check to CI
35+
# CommitDate: Fri Nov 9 10:07:35 2018 -0400
36+
65dff911cea8103edf3e09bb779c0cf9d1561262

0 commit comments

Comments
 (0)