瀏覽代碼

Make verify-commits path-independent

pull/118/head
Matt Corallo 4 年之前
父節點
當前提交
befe6a5368
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      contrib/verify-commits/verify-commits.sh

+ 1
- 0
contrib/verify-commits/verify-commits.sh 查看文件

@@ -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…
取消
儲存