Skip to content
Snippets Groups Projects
Commit 8e5f87a9 authored by Jani Nikula's avatar Jani Nikula
Browse files

dim: rename dim_checkrange to dim_checkpatch


Rename to match the subcommand. Also add checkpatch subcommand (without
the hyphen) to match the spelling of the tool.

Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 81fafad1
No related branches found
No related tags found
No related merge requests found
...@@ -486,7 +486,7 @@ function checkpatch_commit ...@@ -486,7 +486,7 @@ function checkpatch_commit
shell_checkpatch "git show $commit --pretty=email" shell_checkpatch "git show $commit --pretty=email"
} }
function dim_checkrange function dim_checkpatch
{ {
local range local range
...@@ -856,8 +856,8 @@ case "$subcommand" in ...@@ -856,8 +856,8 @@ case "$subcommand" in
git log -1 $sha1 "--pretty=format:Fixes: %H (\"%s\")%n" | \ git log -1 $sha1 "--pretty=format:Fixes: %H (\"%s\")%n" | \
sed -e 's/\([0-f]\{12\}\)[0-f]*/\1/' sed -e 's/\([0-f]\{12\}\)[0-f]*/\1/'
;; ;;
check-patch|cp) checkpatch|check-patch|cp)
dim_checkrange $@ dim_checkpatch $@
;; ;;
cherry-pick) cherry-pick)
if [[ "x$1" = "x" ]]; then if [[ "x$1" = "x" ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment