mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 10:07:28 +00:00
git: remove unnecessary taking of reference (reported by clippy)
This commit is contained in:
parent
e2d6252766
commit
d7b9bd55e8
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ pub fn push_commit(
|
|||
git2::Cred::ssh_key_from_agent(username_from_url.unwrap())
|
||||
});
|
||||
callbacks.push_update_reference(|refname, status| {
|
||||
if refname == &qualified_remote_branch && status.is_none() {
|
||||
if refname == qualified_remote_branch && status.is_none() {
|
||||
updated = true;
|
||||
}
|
||||
Ok(())
|
||||
|
|
Loading…
Reference in a new issue