Permalink
Browse files

Less stupid way of printing modified file names

  • Loading branch information...
1 parent bb01880 commit dd55c4b6e1da2a9c873b1b13cc6b558854f83dba @purcell purcell committed Mar 13, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 travis-changed-files
@@ -8,5 +8,5 @@
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
git show --pretty=format: --name-only "$TRAVIS_COMMIT_RANGE"|sort|uniq
elif [ -n "$TRAVIS_PULL_REQUEST" ]; then
- git diff --stat "$TRAVIS_COMMIT" "$TRAVIS_BRANCH"|cut -d'|' -f1|cut -c2-|sed '$d'
+ git diff --name-only "$TRAVIS_COMMIT" "$TRAVIS_BRANCH"
fi

0 comments on commit dd55c4b

Please sign in to comment.