Browse Source

Make verify-commits path-independent

pull/118/head
Matt Corallo 4 years ago
parent
commit
befe6a5368
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      contrib/verify-commits/verify-commits.sh

+ 1
- 0
contrib/verify-commits/verify-commits.sh View File

@@ -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…
Cancel
Save