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

Jani Nikula jani.nikula at intel.com
Thu Jan 28 05:27:01 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 f8da41d71bc1..5d06918f207e 100755
--- a/dim
+++ b/dim
@@ -625,7 +625,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:"
@@ -734,7 +734,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