Skip to content

Commit 06aa591

Browse files
committed
MNT: Add/run make rule for building an ignore file for git-blame
1 parent 98cf742 commit 06aa591

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Diff for: .git-blame-ignore-revs

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Fri Jul 22 22:38:37 2022 -0400 - [email protected] - STY: isort
2+
7572472ccbaba85565e98bf1b5def0e6957a7d0d
3+
# Fri Jul 22 22:26:02 2022 -0400 - [email protected] - STY: blue
4+
9911244fd3eed7b68f2f8688ff9c7ffe4bd5ad48

Diff for: 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)