| 1 |
Descriptionscip-debian debian hx 25.07.1+20260723+ds+~0.3.3+ds+~0.4.0+20260627+ds-2 hx/patches/`1002_newer_gix.patch`#Description.: use newer minor version of crate gix |
| 2 |
Authorscip-debian debian hx 25.07.1+20260723+ds+~0.3.3+ds+~0.4.0+20260627+ds-2 hx/patches/`1002_newer_gix.patch`#Author.: Simon Quigley <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 |
Bug-Debianscip-debian debian hx 25.07.1+20260723+ds+~0.3.3+ds+~0.4.0+20260627+ds-2 hx/patches/`1002_newer_gix.patch`#Bug-Debian.: https://bugs.debian.org/1144938scip-debian-bts debian-bts . . 1144938: |
| 4 |
Last-Updatescip-debian debian hx 25.07.1+20260723+ds+~0.3.3+ds+~0.4.0+20260627+ds-2 hx/patches/`1002_newer_gix.patch`#Last-Update.: 2026-08-25 |
| 5 |
--- |
| 6 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 7 |
--- a/helix-vcs/Cargo.tomlscip-debian debian hx 25.07.1+20260723+ds+~0.3.3+ds+~0.4.0+20260627+ds-2 hx/upstream/`helix-vcs/Cargo.toml`: |
| 8 |
+++ b/helix-vcs/Cargo.tomlscip-debian debian hx 25.07.1+20260723+ds+~0.3.3+ds+~0.4.0+20260627+ds-2 hx/upstream/`helix-vcs/Cargo.toml`: |
| 9 |
@@ -17,7 +17,7 @@ |
| 10 |
parking_lot.workspace = true |
| 11 |
arc-swap.workspace = true |
| 12 |
|
| 13 |
|
| 14 |
+gix = { version = "0.86.0", features = ["attributes", "status", "max-performance", "sha1"], default-features = false, optional = true } |
| 15 |
imara-diff = "0.2.0" |
| 16 |
anyhow = "1" |
| 17 |
|
| 18 |
--- a/helix-vcs/src/git.rsscip-debian debian hx 25.07.1+20260723+ds+~0.3.3+ds+~0.4.0+20260627+ds-2 hx/upstream/`helix-vcs/src/git.rs`: |
| 19 |
+++ b/helix-vcs/src/git.rsscip-debian debian hx 25.07.1+20260723+ds+~0.3.3+ds+~0.4.0+20260627+ds-2 hx/upstream/`helix-vcs/src/git.rs`: |
| 20 |
@@ -1,6 +1,6 @@ |
| 21 |
use anyhow::{bail, Context, Result}; |
| 22 |
use arc_swap::ArcSwap; |
| 23 |
|
| 24 |
+use gix::filter::plumbing::{driver::apply::Delay, pipeline::convert::to_worktree::Options}; |
| 25 |
use std::io::Read; |
| 26 |
use std::path::Path; |
| 27 |
use std::sync::Arc; |
| 28 |
@@ -56,7 +56,7 @@ |
| 29 |
let rela_path = gix::path::try_into_bstr(rela_path)?; |
| 30 |
let (mut pipeline, _) = repo.filter_pipeline(None)?; |
| 31 |
let mut worktree_outcome = |
| 32 |
|
| 33 |
+ pipeline.convert_to_worktree(&data, rela_path.as_ref(), Options { can_delay: Delay::Forbid, ..Default::default() })?; |
| 34 |
let mut buf = Vec::with_capacity(data.len()); |
| 35 |
worktree_outcome.read_to_end(&mut buf)?; |
| 36 |
Ok(buf) |