瀏覽代碼

devtools: Exclude patches from lint-whitespace

GitHub-Pull: #12442
Rebased-From: fafbf7f
tags/v0.16.1
MarcoFalke 2 年之前
父節點
當前提交
f3b8d85b4b
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      contrib/devtools/lint-whitespace.sh

+ 1
- 1
contrib/devtools/lint-whitespace.sh 查看文件

@@ -16,7 +16,7 @@ if [ -z "${TRAVIS_COMMIT_RANGE}" ]; then
fi

showdiff() {
if ! git diff -U0 "${TRAVIS_COMMIT_RANGE}" -- "." ":(exclude)src/leveldb/" ":(exclude)src/secp256k1/" ":(exclude)src/univalue/" ":(exclude)doc/release-notes/"; then
if ! git diff -U0 "${TRAVIS_COMMIT_RANGE}" -- "." ":(exclude)depends/patches/" ":(exclude)src/leveldb/" ":(exclude)src/secp256k1/" ":(exclude)src/univalue/" ":(exclude)doc/release-notes/"; then
echo "Failed to get a diff"
exit 1
fi

Loading…
取消
儲存