Skip to content

Commit

Permalink
travis: fix full git repo detection in configure
Browse files Browse the repository at this point in the history
  • Loading branch information
xdelaruelle committed Oct 15, 2017
1 parent 7e50743 commit cc3a854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ if [ "$compatversion" = 'y' ]; then
curbranch=$(git rev-parse --abbrev-ref HEAD)
curremote=$(git remote show | head -n 1)
curnbcomm=$(git rev-list $curbranch | wc -l)
if [ $curnbcomm -lt 100 ]; then
if [ $curnbcomm -lt 250 ]; then
repofull=0
else
git fetch $curremote $compatbranch || exit 1
Expand Down

0 comments on commit cc3a854

Please sign in to comment.