Skip to content

Commit cd4806a

Browse files
committed
Disable git pager in flake8_diff.sh
1 parent 3b1541b commit cd4806a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build_tools/travis/flake8_diff.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ if [[ "$TRAVIS" == "true" ]]; then
5858
COMMIT_RANGE=$TRAVIS_COMMIT_RANGE
5959
fi
6060
else
61+
# We need to unshallow here too ...
62+
git fetch --unshallow || echo "Unshallowing the git checkout failed"
6163
# We want to fetch the code as it is in the PR branch and not
6264
# the result of the merge into master. This way line numbers
6365
# reported by Travis will match with the local code.

0 commit comments

Comments
 (0)