aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2021-09-07 19:59:57 -0700
committerLinus Torvalds <[email protected]>2021-09-08 11:50:27 -0700
commit4ce9f970457899defdf68e26e0502c7245002eb3 (patch)
treecb7b627411e19ada22307c7181b65b5b576660d0 /tools/perf/scripts/python/export-to-postgresql.py
parent046fc741e35e9dee7c7f7c4173ba3d79f938286f (diff)
checkpatch: improve GIT_COMMIT_ID test
The preferred git commit id reference has the form commit <SHA-1> ("Title line") where SHA-1 is the commit hex hash with a minimum lenth of 12 and ("Title line") is the complete title line of the commit with a (" prefix and ") suffix. The current tests fail when the "Title line" has one or more embedded double quotes. Improve the test that finds the commit SHA-1 hex hash then ("Title line") by using $balanced_parens for a maximum of 3 consecutive lines. [[email protected]: add missing &&] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Joe Perches <[email protected]> Cc: Dwaipayan Ray <[email protected]> Cc: Lukas Bulwahn <[email protected]> Cc: Denis Efremov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions