From 071a21af163991d481093896c7a7d495988ff881 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Sat, 16 Feb 2019 17:15:40 -0500 Subject: [PATCH] remove 'git fetch --shallow-exclude' --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2032a4ecc2..a30635cfb4 100755 --- a/.travis.yml +++ b/.travis.yml @@ -56,7 +56,6 @@ notifications: before_script: # Expand the git tree back to 4.0.0-alpha.1 and then fetch the latest tag. - LAST_TAG=`git ls-remote --quiet --tags --sort=version:refname | egrep -o "refs/tags/[0-9]+.*\$" | tail -n 1` - - git fetch --shallow-exclude=4.0.0-alpha.1 || git fetch --unshallow - git fetch --depth 1 origin $LAST_TAG:$LAST_TAG - git describe --dirty --always --tags - function var_search () { case "$1" in *$2*) true;; *) false;; esac; }