mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 18:20:58 +02:00
Make verify-commits path-independent
This commit is contained in:
@ -3,6 +3,7 @@
|
|||||||
# shell anyone uses today supports it, so its probably fine
|
# shell anyone uses today supports it, so its probably fine
|
||||||
|
|
||||||
DIR=$(dirname "$0")
|
DIR=$(dirname "$0")
|
||||||
|
[ "/${DIR#/}" != "$DIR" ] && DIR=$(dirname "$(pwd)/$0")
|
||||||
|
|
||||||
echo "Please verify all commits in the following list are not evil:"
|
echo "Please verify all commits in the following list are not evil:"
|
||||||
git log "$DIR"
|
git log "$DIR"
|
||||||
|
Reference in New Issue
Block a user