Skip to content

Commit

Permalink
Fix #962: Copyright Check should check versus target branch instead o…
Browse files Browse the repository at this point in the history
…f master.
  • Loading branch information
dilijev committed May 6, 2017
1 parent 6267a5a commit cd5d4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jenkins/check_copyright.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rm -f $ERRFILE
rm -f $ERRFILETEMP

echo "Check Copyright > Begin Checking..."
git diff --name-only `git merge-base origin/master HEAD` HEAD |
git diff --name-only `git merge-base origin/$ghprbTargetBranch HEAD` HEAD |
grep -v -E '\.git.*' |
grep -v -E '\.xml$' |
grep -v -E '\.props$' |
Expand Down

0 comments on commit cd5d4c8

Please sign in to comment.