Skip to content

Commit

Permalink
install: change git repo clone detection threshold
Browse files Browse the repository at this point in the history
Relative to travis git clone depth increase
  • Loading branch information
xdelaruelle committed Dec 9, 2017
1 parent bb12c55 commit fbdadcc
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 @@ -356,7 +356,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 250 ]; then
if [ $curnbcomm -lt 350 ]; then
repofull=0
else
git fetch $curremote $compatbranch || exit 1
Expand Down

0 comments on commit fbdadcc

Please sign in to comment.