Skip to content

Commit 7be9573

Browse files
committed
use proper endpoint ... head is implied
1 parent 2e6bfe3 commit 7be9573

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/linkcheck.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ if [ "$TRAVIS_EVENT_TYPE" = "cron" ] ; then
55

66
echo "Doing full link check."
77
else
8-
CHANGED_FILES=$(git diff-tree --no-commit-id --name-only -r origin/master..HEAD | tr '\n' ' ')
8+
CHANGED_FILES=$(git diff-tree --no-commit-id --name-only -r origin/master... | tr '\n' ' ')
99
FLAGS="-f $CHANGED_FILES"
1010

11-
echo "Checking files changed in master..HEAD: $CHANGED_FILES"
11+
echo "Checking files changed in origin/master...: $CHANGED_FILES"
1212
fi
1313

1414
exec mdbook-linkcheck $FLAGS -- $TRAVIS_BUILD_DIR

0 commit comments

Comments
 (0)