Skip to content

Commit

Permalink
chore: set up git-blame-ignore-revs (#1438)
Browse files Browse the repository at this point in the history
* chore: add .git-blame-ignore-revs file

* chore: add .gitconfig

* chore: add gitconfig in postinstall

* chore: update commit hash to merged commit
  • Loading branch information
0xApotheosis authored Apr 8, 2022
1 parent 9287cd7 commit 60ffe3f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# .git-blame-ignore-revs
# Add trailing commas to meet "trailingComma": "all" rule
9287cd7ad557150b4900e010c1e87b189df2eb90
2 changes: 2 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[blame]
ignoreRevsFile = .git-blame-ignore-revs
3 changes: 3 additions & 0 deletions scripts/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ if [ "$LOCK_HASH" != "$LOCK_HASH_AFTER" ]; then
else
echo "yarn-minify did not modify the yarn.lock file"
fi

# Add web's git config to the local path in an idempotent way
git config --local include.path '../.gitconfig'

0 comments on commit 60ffe3f

Please sign in to comment.