[Intel-gfx] [maintainer-tools PATCH v2 09/33] dim: rename update_nightly to dim_rebuild_nightly

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


Rename to match the subcommand name.

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 6f209e360391..fa6e896aaf46 100755
--- a/dim
+++ b/dim
@@ -234,7 +234,7 @@ function update_rerere_cache
 	cd -
 }
 
-function update_nightly
+function dim_rebuild_nightly
 {
 	local integration_branch=drm-intel-nightly
 	local specfile=`mktemp`
@@ -363,7 +363,7 @@ function dim_push_branch
 
 	git push $DRY_RUN $DIM_DRM_INTEL_REMOTE $branch "$@"
 
-	update_nightly
+	dim_rebuild_nightly
 	update_linux_next
 }
 
@@ -776,7 +776,7 @@ case "$subcommand" in
 		done
 		;;
 	rebuild-nightly)
-		update_nightly
+		dim_rebuild_nightly
 		;;
 	cat-to-fixup)
 		cd $DIM_PREFIX/drm-intel-nightly
-- 
2.1.4



More information about the Intel-gfx mailing list