Skip to content

Commit

Permalink
lib git.rs: minor simplification, fixup to 62b14e1
Browse files Browse the repository at this point in the history
As suggested by @yuja in
#3516 (comment)
  • Loading branch information
ilyagr committed Apr 18, 2024
1 parent 7fded98 commit 9fa01e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9fa01e0

Please sign in to comment.