r-lib / credentials

Tools for Managing SSH and Git Credentials
https://docs.ropensci.org/credentials
Other
72 stars 5 forks source link

credential_approve timeouts with latest git #27

Open jeroen opened 1 year ago

jeroen commented 1 year ago

With recent git versions on Linux and Windows we see a timeout (maybe due to user prompt)

> ### Name: credential_api
> ### Title: Retrieve and store git HTTPS credentials
> ### Aliases: credential_api credential_fill credential_approve
> ###   credential_reject
> 
> ### ** Examples
> 
> ## No test: 
> # Insert example cred
> example <- list(protocol = "https", host = "example.org",
+   username = "test", password = "secret")
> credential_approve(example)
Error: Error: Program 'git' terminated (timeout reached: 10.00sec)