diff options
Diffstat (limited to 'vendor/gix/src/clone/fetch/util.rs')
-rw-r--r-- | vendor/gix/src/clone/fetch/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/gix/src/clone/fetch/util.rs b/vendor/gix/src/clone/fetch/util.rs index ab90435d0..db9bc0a1c 100644 --- a/vendor/gix/src/clone/fetch/util.rs +++ b/vendor/gix/src/clone/fetch/util.rs @@ -189,7 +189,7 @@ fn setup_branch_config( remote_name: &BStr, ) -> Result<(), Error> { let short_name = match branch.category_and_short_name() { - Some((cat, shortened)) if cat == gix_ref::Category::LocalBranch => match shortened.to_str() { + Some((gix_ref::Category::LocalBranch, shortened)) => match shortened.to_str() { Ok(s) => s, Err(_) => return Ok(()), }, |