Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix(exclude): avoid trying to read patterns from file when reading failed #10335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(exclude): avoid trying to read patterns from file when reading failed #10335
Changes from all commits
340c759bf0ac8dFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Check failure on line 10 in src/csync/csync_exclude.cpp
src/csync/csync_exclude.cpp:10:10 [clang-diagnostic-error]
Check failure on line 87 in src/csync/csync_exclude.cpp
Refactor this function to reduce its Cognitive Complexity from 27 to the 25 allowed.
Check warning on line 130 in src/csync/csync_exclude.cpp
implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'int'
Check warning on line 130 in src/csync/csync_exclude.cpp
Unmodified variable "lastSlash" of type "int" should be const-qualified.
Check warning on line 207 in src/csync/csync_exclude.cpp
Remove this redundant cast.
Check warning on line 253 in src/csync/csync_exclude.cpp
Replace with the version of "std::ranges::find" that takes a range.
Check warning on line 273 in src/csync/csync_exclude.cpp
Use the init-statement to declare "trimmedExpr" inside the if statement.
Check warning on line 277 in src/csync/csync_exclude.cpp
Avoid this unnecessary copy by using a "const" reference.
Check warning on line 315 in src/csync/csync_exclude.cpp
Merge this "if" statement with the enclosing one.
Check warning on line 323 in src/csync/csync_exclude.cpp
Use the init-statement to declare "patternStr" inside the if statement.
Check warning on line 475 in src/csync/csync_exclude.cpp
implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'int'
Check warning on line 682 in src/csync/csync_exclude.cpp
implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'int'
Uh oh!
There was an error while loading. Please reload this page.