Skip to content

Commit bfa3253

Browse files
authored
Merge pull request #1911 from GitoxideLabs/improvements
improvements
2 parents 544cdaf + dcdb8ea commit bfa3253

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gix/src/filter.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,9 @@ impl Pipeline<'_> {
172172
entry.matching_attributes(attrs);
173173
},
174174
&mut |buf| -> Result<_, gix_object::find::Error> {
175-
let entry = match index.entry_by_path(gix_path::into_bstr(rela_path).as_ref()) {
175+
let entry = match index
176+
.entry_by_path(gix_path::to_unix_separators_on_windows(gix_path::into_bstr(rela_path)).as_ref())
177+
{
176178
None => return Ok(None),
177179
Some(entry) => entry,
178180
};

0 commit comments

Comments
 (0)