Skip to content

Commit 5165465

Browse files
committed
MNT: Add/run make rule for building an ignore file for git-blame
1 parent 5a51bf3 commit 5165465

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.git-blame-ignore-revs

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Thu Dec 29 21:46:13 2022 -0500 - [email protected] - STY: Manual, blue-compatible touchups
2+
5a51bf39af45b5c3bfe6dadf1c63097e16e18dca
3+
# Thu Dec 29 21:32:00 2022 -0500 - [email protected] - STY: isort
4+
98dae917c6131ee7c9814bb2d71f30f8fddea13e
5+
# Thu Dec 29 21:30:29 2022 -0500 - [email protected] - STY: blue
6+
a2a563e8e10ca965cc707caefc69915799aaca13

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ distclean: clean
7878
$(WWW_DIR):
7979
if [ ! -d $(WWW_DIR) ]; then mkdir -p $(WWW_DIR); fi
8080

81+
.git-blame-ignore-revs:
82+
git log --grep "\[git-blame-ignore-rev\]" --pretty=format:"# %ad - %ae - %s%n%H" \
83+
> .git-blame-ignore-revs
8184

8285
#
8386
# Tests
@@ -288,4 +291,4 @@ rm-orig:
288291
# Remove .orig temporary diff files generated by git
289292
find . -name "*.orig" -print | grep -v "fsaverage" | xargs rm
290293

291-
.PHONY: orig-src pylint all build
294+
.PHONY: orig-src pylint all build .git-blame-ignore-revs

0 commit comments

Comments
 (0)