Skip to content

fix: Warn if pattern contains path separator not error - #2174

Open
tmccombs wants to merge 1 commit into
sharkdp:masterfrom
tmccombs:warning-not-error
Open

tmccombs wants to merge 1 commit into
sharkdp:masterfrom
tmccombs:warning-not-error

Conversation

@tmccombs

Copy link
Copy Markdown
Collaborator

Don't abort the search if there is a path separator in the pattern, because it could possibly still match something, but keep the warning message.

Also udpate the error message so it makes more sense with a pattern that isn't an actual path.

Fixes: #2154

Don't abort the search if there is a path separator in the pattern,
because it could possibly still match something, but keep the warning message.

Also udpate the error message so it makes more sense with a pattern that
isn't an actual path.

Fixes: sharkdp#2154
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] -g "**/*" regression from 10.4.2

2 participants