We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gix-ref
1 parent 16b5e7e commit d296ee8Copy full SHA for d296ee8
gix/src/remote/connection/fetch/update_refs/mod.rs
@@ -201,7 +201,9 @@ pub(crate) fn update(
201
PreviousValue::MustExistAndMatch(existing.target().into_owned()),
202
)
203
}
204
- Err(crate::reference::peel::Error::ToId(gix_ref::peel::to_id::Error::Follow(_))) => {
+ Err(crate::reference::peel::Error::ToId(gix_ref::peel::to_id::Error::FollowToObject(
205
+ gix_ref::peel::to_object::Error::Follow(_),
206
+ ))) => {
207
// An unborn reference, always allow it to be changed to whatever the remote wants.
208
(
209
if existing.target().try_name().map(gix_ref::FullNameRef::as_bstr)
0 commit comments