Skip to content

Commit 69dab10

Browse files
committed
log roots
1 parent 9925231 commit 69dab10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/ignore/src/gitignore.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ impl Gitignore {
278278
// As an additional special case, if the root is just `.`, then we
279279
// shouldn't try to strip anything, e.g., when path begins with a `.`.
280280
if self.root != Path::new(".") && !is_file_name(path) {
281+
dbg!(&self.root, &path);
281282
if let Some(p) = strip_prefix(&self.root, path) {
282283
path = p;
283284
// If we're left with a leading slash, get rid of it.

0 commit comments

Comments
 (0)