[Intel-gfx] [maintainer-tools PATCH v2 08/33] dim: rename create_workdir to dim_create_workdir

Jani Nikula jani.nikula at intel.com
Thu Jan 28 05:27:02 PST 2016


Add dim_ prefix to functions corresponding to subcommands.

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 5d06918f207e..6f209e360391 100755
--- a/dim
+++ b/dim
@@ -555,7 +555,7 @@ function prep_pull_mail
 	prep_pull_mail_signature >> ~/tmp/dim-pull-request
 }
 
-function create_workdir
+function dim_create_workdir
 {
 	cd $DIM_PREFIX
 	local branches
@@ -763,7 +763,7 @@ case "$subcommand" in
 		update_rerere_cache
 		;;
 	create-workdir)
-		create_workdir $1
+		dim_create_workdir $1
 		;;
 	for-each-workdirs|fw)
 		cd $DIM_PREFIX/$DIM_DRM_INTEL
-- 
2.1.4



More information about the Intel-gfx mailing list