-
-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check for Git > 2.38 #294
Check for Git > 2.38 #294
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #294 +/- ##
==========================================
+ Coverage 97.22% 97.25% +0.02%
==========================================
Files 15 17 +2
Lines 1082 1091 +9
==========================================
+ Hits 1052 1061 +9
Misses 30 30
|
Hi! Sorry I was in vacation for the past 2 weeks 😄 Actually, what #274 refers to is the actual version of Git, not GitPython. |
Sorry, my mistake! This should now check the git version. |
pydriller/utils/check_git_version.py
Outdated
subprocess.check_output(["git", "--version"]).decode("ascii").strip() | ||
) | ||
version_number = re.findall(r"[0-9]+\.[0-9]+", git_version)[0] | ||
print(git_version) |
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.
Could you remove the print from here?
Thanks! All good! Errors are unrelated. Thanks for working on it! |
Added check for Git version and unit tests.
GitVersion
Exception will be raised if a compatible version is not found.Closes #274