We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21e9337 commit e31de68Copy full SHA for e31de68
gix-ref/src/store/file/overlay_iter.rs
@@ -302,13 +302,6 @@ impl<'a> IterInfo<'a> {
302
"prefix must be a relative path, like 'refs/heads/'",
303
));
304
}
305
- use std::path::Component::*;
306
- if prefix_path.components().any(|c| matches!(c, CurDir | ParentDir)) {
307
- return Err(std::io::Error::new(
308
- std::io::ErrorKind::InvalidInput,
309
- "Refusing to handle prefixes with relative path components",
310
- ));
311
- }
312
let iter_root = base.join(&prefix_path);
313
if prefix.ends_with(b"/") {
314
Ok(IterInfo::BaseAndIterRoot {
0 commit comments