浏览代码

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"

正在加载...
取消
保存