[Intel-gfx] [maintainer-tools PATCH v2 05/33] dim: rename dim_checkpatch to checkpatch_commit
Jani Nikula
jani.nikula at intel.com
Thu Jan 28 05:26:59 PST 2016
Rename as there's no corresponding subcommand (the check-patch
subcommand does a slightly different thing).
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
dim | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dim b/dim
index d26abceb21a6..8865778a34f5 100755
--- a/dim
+++ b/dim
@@ -478,7 +478,7 @@ function shell_checkpatch
}
# $1 is the git sha1 to check
-function dim_checkpatch
+function checkpatch_commit
{
local commit=$1
@@ -499,7 +499,7 @@ function dim_checkrange
fi
for commit in $(git rev-list --reverse $range); do
- dim_checkpatch $commit || true
+ checkpatch_commit $commit || true
done
}
@@ -820,7 +820,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
More information about the Intel-gfx
mailing list