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
BF: Move Git identity check into ConfigManager and make more valid #3807
Conversation
"DataLad. Set both 'user.name' and 'user.email' " | ||
"configuration variables." | ||
) | ||
ConfigManager._checked_git_identity = True |
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.
s/ConfigManager/self/
feels a bit more natural to me, but it's of course fine as is.
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.
True, but I my personal preference is pointing the other way ;-)
Didnt realize we have a test run that sets identity variables. Will fix up |
Codecov Report
@@ Coverage Diff @@
## master #3807 +/- ##
==========================================
+ Coverage 70.31% 80.61% +10.3%
==========================================
Files 273 273
Lines 35954 35966 +12
==========================================
+ Hits 25280 28993 +3713
+ Misses 10674 6973 -3701
Continue to review full report at Codecov.
|
Also considers standard environment variables now. Importantly, the check is no down without dedicated extra calls to git config, saving two calls (that were pretty much always performed). Fixes dataladgh-3750
Thx @kyleam for the review. All good now. |
Also considers standard environment variables now.
Importantly, the check is no down without dedicated extra calls to git
config, saving two calls (that were pretty much always performed).
Fixes gh-3750