aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2020-10-15 20:12:12 -0700
committerLinus Torvalds <[email protected]>2020-10-16 11:11:21 -0700
commitf5f613259f3fea813c3f698a426c78eac61d8601 (patch)
tree73eda22913d27b6d8ccd01634faa8317ad5c10fe /scripts/gdb/linux/tasks.py
parent99ca38c2aa7da5ab39e55f13fd425c6101903ccb (diff)
checkpatch: allow not using -f with files that are in git
If a file exists in git and checkpatch is used without the -f flag for scanning a file, then checkpatch will scan the file assuming it's a patch and emit: ERROR: Does not appear to be a unified-diff format patch Change the behavior to assume the -f flag if the file exists in git. [[email protected]: fix git "fatal" warning if file argument outside kernel tree] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Julia Lawall <[email protected]> Cc: Rasmus Villemoes <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions