forked from mirrors/jj
lib git.rs
: minor simplification, fixup to 62b14e1f
As suggested by @yuja in https://github.com/martinvonz/jj/pull/3516#discussion_r1568466814
This commit is contained in:
parent
7fded98e40
commit
9fa01e0246
1 changed files with 1 additions and 1 deletions
|
@ -1283,7 +1283,7 @@ pub fn push_updates(
|
|||
refspecs.push(format!(
|
||||
"{}{}:{}",
|
||||
(if update.force { "+" } else { "" }),
|
||||
git2::Oid::from_bytes(new_target.as_bytes()).unwrap(),
|
||||
new_target.hex(),
|
||||
update.qualified_name
|
||||
));
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue