Show More
@@ -381,6 +381,17 b' def getgitversion():' | |||
|
381 | 381 | return (int(m.group(1)), int(m.group(2))) |
|
382 | 382 | |
|
383 | 383 | |
|
384 | @check("pygit2", "pygit2 Python library") | |
|
385 | def has_git(): | |
|
386 | try: | |
|
387 | import pygit2 | |
|
388 | ||
|
389 | pygit2.Oid # silence unused import | |
|
390 | return True | |
|
391 | except ImportError: | |
|
392 | return False | |
|
393 | ||
|
394 | ||
|
384 | 395 | # https://github.com/git-lfs/lfs-test-server |
|
385 | 396 | @check("lfs-test-server", "git-lfs test server") |
|
386 | 397 | def has_lfsserver(): |
General Comments 0
You need to be logged in to leave comments.
Login now