-
Notifications
You must be signed in to change notification settings - Fork 117
[bugfix] Remove timeout argument from git clone command
#2239
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
[bugfix] Remove timeout argument from git clone command
#2239
Conversation
We use timeout to git_clone function only to check if repo exists. We should not use it in actual git clone <url> command. Timeout argument to git clone command is remove and documentation is adapted
|
Can I test this patch? |
Codecov Report
@@ Coverage Diff @@
## master #2239 +/- ##
=======================================
Coverage 85.54% 85.54%
=======================================
Files 55 55
Lines 9754 9754
=======================================
Hits 8344 8344
Misses 1410 1410
Continue to review full report at Codecov.
|
|
Ok to test |
jjotero
left a comment
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.
Some minor cosmetic changes
We change name of git_clone_timeout variable to git_timeout as we use this timeout only to check if repo exists. Documentation is modified accordingly.
teojgo
left a comment
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.
Lgtm, I have tested with some actual example and it works fine.
git clone command
We use
timeoutargument ingit_clonefunction only to check if repo exists. We should not use it in actualgit clone <url>command. Timeout argument togit clonecommand is removed and documentation is adapted.Fixes #2238