Sfoglia il codice sorgente

Make verify-commits path-independent

pull/118/head
Matt Corallo 4 anni fa
parent
commit
befe6a5368
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      contrib/verify-commits/verify-commits.sh

+ 1
- 0
contrib/verify-commits/verify-commits.sh Vedi 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…
Annulla
Salva