ok/jj
1
0
Fork 0
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:
Ilya Grigoriev 2024-04-17 19:40:34 -07:00
parent 7fded98e40
commit 9fa01e0246

View file

@ -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 {