Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-dev-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-dev-tools
Commits
5b201a14
Commit
5b201a14
authored
Apr 17, 2019
by
Bastien Montagne
Browse files
Options
Downloads
Patches
Plain Diff
Fix reversed bool logic in check for default paths usage in clang-format script.
parent
0352adeb
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils_maintenance/clang_format_paths.py
+2
-2
2 additions, 2 deletions
utils_maintenance/clang_format_paths.py
with
2 additions
and
2 deletions
utils_maintenance/clang_format_paths.py
+
2
−
2
View file @
5b201a14
...
@@ -162,7 +162,7 @@ def main():
...
@@ -162,7 +162,7 @@ def main():
args
=
argparse_create
().
parse_args
()
args
=
argparse_create
().
parse_args
()
use_default_paths
=
bool
(
args
.
paths
)
use_default_paths
=
not
bool
(
args
.
paths
)
paths
=
compute_paths
(
args
.
paths
)
paths
=
compute_paths
(
args
.
paths
)
print
(
"
Operating on:
"
)
print
(
"
Operating on:
"
)
...
@@ -177,7 +177,7 @@ def main():
...
@@ -177,7 +177,7 @@ def main():
# Always operate on all cmake files (when expanding tabs and no paths given).
# Always operate on all cmake files (when expanding tabs and no paths given).
files_retab
=
[
files_retab
=
[
f
for
f
in
source_files_from_git
(
"
.
"
if
use_default_paths
else
paths
)
f
for
f
in
source_files_from_git
(
(
"
.
"
,)
if
use_default_paths
else
paths
)
if
f
.
endswith
(
extensions_only_retab
)
if
f
.
endswith
(
extensions_only_retab
)
if
f
not
in
ignore_files
if
f
not
in
ignore_files
]
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment