Merge pull request #13117 from xxyzz/credential
Don't print set git credential cache message if a helper exists
This commit is contained in:
commit
6a291c1e34
@ -350,6 +350,10 @@ class Tap
|
|||||||
return unless private?
|
return unless private?
|
||||||
return if quiet
|
return if quiet
|
||||||
|
|
||||||
|
path.cd do
|
||||||
|
return if Utils.popen_read("git", "config", "--get", "credential.helper").present?
|
||||||
|
end
|
||||||
|
|
||||||
$stderr.puts <<~EOS
|
$stderr.puts <<~EOS
|
||||||
It looks like you tapped a private repository. To avoid entering your
|
It looks like you tapped a private repository. To avoid entering your
|
||||||
credentials each time you update, you can use git HTTP credential
|
credentials each time you update, you can use git HTTP credential
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user