Description: use newer minor version of crate gix Author: Simon Quigley Bug-Debian: https://bugs.debian.org/1144938 Last-Update: 2026-08-25 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/helix-vcs/Cargo.toml +++ b/helix-vcs/Cargo.toml @@ -17,7 +17,7 @@ parking_lot.workspace = true arc-swap.workspace = true -gix = { version = "0.85.0", features = ["attributes", "status", "max-performance", "sha1"], default-features = false, optional = true } +gix = { version = "0.86.0", features = ["attributes", "status", "max-performance", "sha1"], default-features = false, optional = true } imara-diff = "0.2.0" anyhow = "1" --- a/helix-vcs/src/git.rs +++ b/helix-vcs/src/git.rs @@ -1,6 +1,6 @@ use anyhow::{bail, Context, Result}; use arc_swap::ArcSwap; -use gix::filter::plumbing::driver::apply::Delay; +use gix::filter::plumbing::{driver::apply::Delay, pipeline::convert::to_worktree::Options}; use std::io::Read; use std::path::Path; use std::sync::Arc; @@ -56,7 +56,7 @@ let rela_path = gix::path::try_into_bstr(rela_path)?; let (mut pipeline, _) = repo.filter_pipeline(None)?; let mut worktree_outcome = - pipeline.convert_to_worktree(&data, rela_path.as_ref(), Delay::Forbid)?; + pipeline.convert_to_worktree(&data, rela_path.as_ref(), Options { can_delay: Delay::Forbid, ..Default::default() })?; let mut buf = Vec::with_capacity(data.len()); worktree_outcome.read_to_end(&mut buf)?; Ok(buf)