mirror of
https://github.com/qwjyh/xdbm
synced 2025-04-20 03:35:55 +09:00
lint: remove unnecessary ref
This commit is contained in:
parent
63c6c397c3
commit
d86d6fb898
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ fn push(
|
||||||
ssh_key: Option<&PathBuf>,
|
ssh_key: Option<&PathBuf>,
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
debug!("push");
|
debug!("push");
|
||||||
let callbacks = remote_callback(&use_sshagent, ssh_key);
|
let callbacks = remote_callback(use_sshagent, ssh_key);
|
||||||
let mut push_options = PushOptions::new();
|
let mut push_options = PushOptions::new();
|
||||||
push_options.remote_callbacks(callbacks);
|
push_options.remote_callbacks(callbacks);
|
||||||
let num_push_refspecs = remote
|
let num_push_refspecs = remote
|
||||||
|
|
Loading…
Add table
Reference in a new issue