File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
1
use crate :: bstr:: BStr ;
2
2
use crate :: { config, dirwalk, Repository } ;
3
- use std:: path:: Path ;
4
3
5
4
/// The error returned by [dirwalk()](Repository::dirwalk()).
6
5
#[ derive( Debug , thiserror:: Error ) ]
@@ -60,13 +59,11 @@ impl Repository {
60
59
) ?
61
60
. into_parts ( ) ;
62
61
63
- let prefix = self . prefix ( ) ?. unwrap_or ( Path :: new ( "" ) ) ;
64
62
let git_dir_realpath =
65
63
crate :: path:: realpath_opts ( self . git_dir ( ) , self . current_dir ( ) , crate :: path:: realpath:: MAX_SYMLINKS ) ?;
66
64
let fs_caps = self . filesystem_options ( ) ?;
67
65
let accelerate_lookup = fs_caps. ignore_case . then ( || index. prepare_icase_backing ( ) ) ;
68
66
gix_dir:: walk (
69
- & workdir. join ( prefix) ,
70
67
workdir,
71
68
gix_dir:: walk:: Context {
72
69
git_dir_realpath : git_dir_realpath. as_ref ( ) ,
@@ -85,6 +82,7 @@ impl Repository {
85
82
} ,
86
83
excludes : Some ( & mut excludes) ,
87
84
objects : & self . objects ,
85
+ explicit_traversal_root : None ,
88
86
} ,
89
87
options. into ( ) ,
90
88
delegate,
You can’t perform that action at this time.
0 commit comments