Get commit delta from HEAD

This commit is contained in:
Leon Wright 2016-03-11 10:04:15 +08:00
parent baff93b173
commit 3ffb03d644
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ echo "Finding changes to test..."
if [ -n "$ghprbActualCommit" ]
then
echo "Commit hash: $ghprbActualCommit"
export COMMIT_CHANGES="`git diff --diff-filter=AM --name-only --stat origin/master`"
export COMMIT_CHANGES="`git diff --diff-filter=AM --name-only --stat origin/master...HEAD`"
else
echo "No commit provided, skipping further tests."
exit $EXIT_OK