Make verify-commits path-independent
This commit is contained in:
parent
f7d4a25fe6
commit
9523e8adaf
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
# shell anyone uses today supports it, so its probably fine
|
||||
|
||||
DIR=$(dirname "$0")
|
||||
[ "/${DIR#/}" != "$DIR" ] && DIR=$(dirname "$(pwd)/$0")
|
||||
|
||||
echo "Please verify all commits in the following list are not evil:"
|
||||
git log "$DIR"
|
||||
|
|
Loading…
Reference in a new issue