Skip to content

Commit 4ef7806

Browse files
committed
adapt to changes in gix-ignore and gix-glob, and more.
1 parent 85a24b3 commit 4ef7806

File tree

14 files changed

+28
-9
lines changed

14 files changed

+28
-9
lines changed

gitoxide-core/src/repository/exclude.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ pub fn query(
3737
let index = repo.index()?;
3838
let mut cache = repo.excludes(
3939
&index,
40-
Some(gix::ignore::Search::from_overrides(overrides.into_iter())),
40+
Some(gix::ignore::Search::from_overrides(
41+
overrides.into_iter(),
42+
repo.ignore_pattern_parser()?,
43+
)),
4144
Default::default(),
4245
)?;
4346

gix-dir/tests/walk_utils/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ pub fn try_collect_filtered_opts(
330330
Default::default(),
331331
None,
332332
gix_worktree::stack::state::ignore::Source::WorktreeThenIdMappingIfNotSkipped,
333+
gix_ignore::search::Ignore { support_precious: true },
333334
)),
334335
&index,
335336
index.path_backing(),
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)