Rename as there's no corresponding subcommand (the check-patch subcommand does a slightly different thing). Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx> --- dim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dim b/dim index b42362a1e56b..6a8521c8c7b9 100755 --- a/dim +++ b/dim @@ -468,7 +468,7 @@ function shell_checkpatch } # $1 is the git sha1 to check -function dim_checkpatch +function checkpatch_commit { local commit=$1 @@ -489,7 +489,7 @@ function dim_checkrange fi for commit in $(git rev-list --reverse $range); do - dim_checkpatch $commit || true + checkpatch_commit $commit || true done } @@ -810,7 +810,7 @@ case "$subcommand" in ;; apply-resolved|ar) make -j 20 && git add -u && git am --resolved - dim_checkpatch HEAD + checkpatch_commit HEAD git commit --amend & ;; apply-igt|ai) -- 2.1.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx