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

Jani Nikula jani.nikula at intel.com
Tue Jan 26 06:32:21 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 0b02c9c0effe..3ddbb728a044 100755
--- a/dim
+++ b/dim
@@ -545,7 +545,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
@@ -753,7 +753,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