[Intel-gfx] [maintainer-tools RFC PATCH 07/17] dim: rename setup_dim to dim_setup

Jani Nikula jani.nikula at intel.com
Tue Jan 26 06:32:20 PST 2016


Rename to match the subcommand.

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 dim | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dim b/dim
index 012353112a3b..0b02c9c0effe 100755
--- a/dim
+++ b/dim
@@ -615,7 +615,7 @@ function dim_pull_request
 		"$addr_drm_maintainer"
 }
 
-function setup_dim
+function dim_setup
 {
 	if [ ! -d $DIM_PREFIX ]; then
 		echo "please set up your repository directory with:"
@@ -724,7 +724,7 @@ function assert_branch
 
 case "$subcommand" in
 	setup)
-		setup_dim
+		dim_setup
 		;;
 	nightly-forget)
 		cd $DIM_PREFIX/drm-intel-nightly
-- 
2.1.4



More information about the Intel-gfx mailing list