scripts: check_compliance: un-ignore diff and patch for CheckPatch
Un-ignore diff and patch files for CheckPatch. This was originally added to avoid throwing false-positives when diff and patch files were actually in the repo, since it would incorrectly try to perform code-formatting checks on those files instead of on the content of the commit. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
parent
132289ec33
commit
5fb47cd97f
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ class CheckPatch(ComplianceTest):
|
||||||
cmd = [checkpatch]
|
cmd = [checkpatch]
|
||||||
|
|
||||||
cmd.extend(['--mailback', '--no-tree', '-'])
|
cmd.extend(['--mailback', '--no-tree', '-'])
|
||||||
diff = subprocess.Popen(('git', 'diff', '--no-ext-diff', '--', ':!*.diff', ':!*.patch', COMMIT_RANGE),
|
diff = subprocess.Popen(('git', 'diff', '--no-ext-diff', COMMIT_RANGE),
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
cwd=GIT_TOP)
|
cwd=GIT_TOP)
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue