Merge pull request #1020 from techman83/fix_commit_changeset

Get commit delta from HEAD
This commit is contained in:
Leon Wright 2016-03-11 16:54:24 +08:00
commit 1e76577850
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