mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-30 08:05:05 +00:00
git: remove redundant id.clone() from diff_refs_to_import()
This commit is contained in:
parent
b837e88757
commit
359c871545
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ fn diff_refs_to_import(
|
|||
// TODO: Make it configurable which remotes are publishing and update public
|
||||
// heads here.
|
||||
known_git_refs.remove(&ref_name);
|
||||
let new_target = RefTarget::normal(id.clone());
|
||||
let new_target = RefTarget::normal(id);
|
||||
if new_target != *old_target {
|
||||
changed_git_refs.insert(ref_name, (old_target.clone(), new_target));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue