Skip to content

Commit 9b91624

Browse files
author
Stephan Dilly
committed
use get instead of fill
1 parent 1519ef8 commit 9b91624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asyncgit/src/sync/cred.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ fn git_credential_fill(url: &str) -> Option<BasicAuthCredential> {
103103
let protocol = url.scheme();
104104

105105
let cmd = format!("protocol={}\nhost={}\n", protocol, host);
106-
let cmd = format!("printf \"{}\" | git credential fill", cmd);
106+
let cmd = format!("printf \"{}\" | git credential get", cmd);
107107

108108
let bash_args = vec!["-c".to_string(), cmd];
109109

0 commit comments

Comments
 (0)