-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
git migration: don't prompt interactively for clone credentials #15902
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
Conversation
Tests now fail |
Could you add this deeper so it is not only used for clone? In #15157 I have added this to the |
@KN4CK3R good point, changed that Tests were failing because |
Codecov Report
@@ Coverage Diff @@
## main #15902 +/- ##
=======================================
Coverage 44.01% 44.01%
=======================================
Files 681 681
Lines 82336 82340 +4
=======================================
+ Hits 36237 36244 +7
+ Misses 40195 40193 -2
+ Partials 5904 5903 -1
Continue to review full report at Codecov.
|
Thanks @noerw I knew that there was an option for this and meant to write a PR for it a long time ago!! |
…itea#15902) * don't prompt interactively for clone credentials * apply GIT_TERMINAL_PROMPT=0 to all git cmds Co-authored-by: Lunny Xiao <[email protected]>
-> #16082 |
…) (#16082) * don't prompt interactively for clone credentials * apply GIT_TERMINAL_PROMPT=0 to all git cmds Co-authored-by: Lunny Xiao <[email protected]> Co-authored-by: Norwin <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
…itea#15902) * don't prompt interactively for clone credentials * apply GIT_TERMINAL_PROMPT=0 to all git cmds Co-authored-by: Lunny Xiao <[email protected]>
fix #15230 for git v2.3 and newer (as pointed out by @KN4CK3R in #15230 (comment))
If someone has a pointer how & where to fix it for older git versions, let me know (so far I'm very unfamiliar with gitea's git backend)