Unverified Commit 849db0ad by Kubernetes Prow Robot Committed by GitHub

Merge pull request #8 from pohly/subtree-check-relax

verify-subtree.sh: relax check and ignore old content
parents 33d58fdc cc564f92
......@@ -30,7 +30,7 @@ if [ ! "$DIR" ]; then
exit 1
fi
REV=$(git log -n1 --format=format:%H --no-merges -- "$DIR")
REV=$(git log -n1 --remove-empty --format=format:%H --no-merges -- "$DIR")
if [ "$REV" ]; then
echo "Directory '$DIR' contains non-upstream changes:"
echo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment