Skip to content

Commit effb5bf

Browse files
committed
adapt to changes in gix-dir
1 parent 1fac7c5 commit effb5bf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

gix/src/repository/dirwalk.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use crate::bstr::BStr;
22
use crate::{config, dirwalk, Repository};
3-
use std::path::Path;
43

54
/// The error returned by [dirwalk()](Repository::dirwalk()).
65
#[derive(Debug, thiserror::Error)]
@@ -60,13 +59,11 @@ impl Repository {
6059
)?
6160
.into_parts();
6261

63-
let prefix = self.prefix()?.unwrap_or(Path::new(""));
6462
let git_dir_realpath =
6563
crate::path::realpath_opts(self.git_dir(), self.current_dir(), crate::path::realpath::MAX_SYMLINKS)?;
6664
let fs_caps = self.filesystem_options()?;
6765
let accelerate_lookup = fs_caps.ignore_case.then(|| index.prepare_icase_backing());
6866
gix_dir::walk(
69-
&workdir.join(prefix),
7067
workdir,
7168
gix_dir::walk::Context {
7269
git_dir_realpath: git_dir_realpath.as_ref(),
@@ -85,6 +82,7 @@ impl Repository {
8582
},
8683
excludes: Some(&mut excludes),
8784
objects: &self.objects,
85+
explicit_traversal_root: None,
8886
},
8987
options.into(),
9088
delegate,

0 commit comments

Comments
 (0)