Closed
Description
v = git.version_info
if v[0] > 1 or v[1] > 7 or v[2] > 0 or v[3] > 3:
kwargs['progress'] = True
I have stared at this and I cannot see what the version check is attempted.
Why not simple something like: git_version_info > (1,7,0,3)?
Is that what this is attempting to do?
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
Byron commentedon May 28, 2016
The logic on this check seems quite broken (i.e. inverted), as it would also kick in if the patch level for some reason is greater than 3. Thus is doesn't make much sense and probably attempts to do what you are suggesting.
Also I did a bit of digging, and found this commit 55eb3de to be the on introducing it.
It looks like a fix is trivial, would you like to submit a PR for it ?
barry-scott commentedon May 28, 2016
Sure. But since I do not trust I understand the test being made can you confirm what
version is being checked for? The commit log does not explain.