Show More
@@ -284,6 +284,17 b' def getgitversion():' | |||
|
284 | 284 | return (0, 0) |
|
285 | 285 | return (int(m.group(1)), int(m.group(2))) |
|
286 | 286 | |
|
287 | # https://github.com/git-lfs/lfs-test-server | |
|
288 | @check("lfs-test-server", "git-lfs test server") | |
|
289 | def has_lfsserver(): | |
|
290 | exe = 'lfs-test-server' | |
|
291 | if has_windows(): | |
|
292 | exe = 'lfs-test-server.exe' | |
|
293 | return any( | |
|
294 | os.access(os.path.join(path, exe), os.X_OK) | |
|
295 | for path in os.environ["PATH"].split(os.pathsep) | |
|
296 | ) | |
|
297 | ||
|
287 | 298 | @checkvers("git", "git client (with ext::sh support) version >= %s", (1.9,)) |
|
288 | 299 | def has_git_range(v): |
|
289 | 300 | major, minor = v.split('.')[0:2] |
General Comments 0
You need to be logged in to leave comments.
Login now