[PATCH] dim: Remove upgrade logic

Daniel Vetter daniel.vetter at ffwll.ch
Thu Aug 30 13:39:26 UTC 2018


Of course I forgot the imporant part.

Note: Never push this, or anything after it, to the old place in
drm-tip/maintainer-tools.

Given our track record of forgetting a critical part in migrations I
think it'd be good if we hold off for a week or so until we apply this
one though. It's just a few wasted cpu cycles when running dim
update-branches.

Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
---
 dim | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/dim b/dim
index a645c70a2005..f5deae8dc4dd 100755
--- a/dim
+++ b/dim
@@ -2032,14 +2032,6 @@ function dim_update_branches
 	fi
 
 	cd $DIM_PREFIX/maintainer-tools
-	if ! git remote | grep -q '^maintainer-tools$' ; then
-		git remote add maintainer-tools $maintainer_tools_https
-		git fetch maintainer-tools
-		git branch --set-upstream-to=maintainer-tools/master
-	else
-		echo "Maintainer tools already migrated."
-	fi
-
 	if git_is_current_branch maintainer-tools ; then
 		echo "Updating maintainer-tools ..."
 		git pull --rebase
-- 
2.18.0



More information about the dim-tools mailing list