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

Jani Nikula jani.nikula at intel.com
Tue Jan 26 06:32:22 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 3ddbb728a044..c72f58302bae 100755
--- a/dim
+++ b/dim
@@ -231,7 +231,7 @@ function update_rerere_cache
 	cd -
 }
 
-function update_nightly
+function dim_rebuild_nightly
 {
 	local integration_branch=drm-intel-nightly
 	local specfile=`mktemp`
@@ -360,7 +360,7 @@ function dim_push_branch
 
 	git push $DRY_RUN $DIM_DRM_INTEL_REMOTE $branch "$@"
 
-	update_nightly
+	dim_rebuild_nightly
 	update_linux_next
 }
 
@@ -766,7 +766,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