You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
It is most likely because travis does a git clone --depth 50 which cannot account for the full history. Hence a rev-list will not necessarily return a given count number.
So once you have 50+ commits, count will return ''.
81934f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not understand why sometimes Travis finds
count=''
here.81934f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is most likely because travis does a
git clone --depth 50
which cannot account for the full history. Hence a rev-list will not necessarily return a given count number.So once you have 50+ commits, count will return
''
.81934f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I see. Thanks for the comment!