Skip to content

Commit

Permalink
MNT: Add/run make rule for building an ignore file for git-blame
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Dec 30, 2022
1 parent 5a51bf3 commit 5165465
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Thu Dec 29 21:46:13 2022 -0500 - markiewicz@stanford.edu - STY: Manual, blue-compatible touchups
5a51bf39af45b5c3bfe6dadf1c63097e16e18dca
# Thu Dec 29 21:32:00 2022 -0500 - effigies@gmail.com - STY: isort
98dae917c6131ee7c9814bb2d71f30f8fddea13e
# Thu Dec 29 21:30:29 2022 -0500 - effigies@gmail.com - STY: blue
a2a563e8e10ca965cc707caefc69915799aaca13
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ distclean: clean
$(WWW_DIR):
if [ ! -d $(WWW_DIR) ]; then mkdir -p $(WWW_DIR); fi

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

#
# Tests
Expand Down Expand Up @@ -288,4 +291,4 @@ rm-orig:
# Remove .orig temporary diff files generated by git
find . -name "*.orig" -print | grep -v "fsaverage" | xargs rm

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

0 comments on commit 5165465

Please sign in to comment.