[Intel-gfx] [maintainer-tools PATCH 2/4] dim: have update-branches also fetch origin and drm upstream repos

Jani Nikula jani.nikula at intel.com
Tue Mar 15 09:20:36 UTC 2016


Convenient in many cases, but not as intrusive as full remote update.

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 dim | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dim b/dim
index e3fca75bc5e6..a287c9126047 100755
--- a/dim
+++ b/dim
@@ -991,7 +991,9 @@ dim_alias_ub=update-branches
 function dim_update_branches
 {
 	cd $DIM_PREFIX/$DIM_DRM_INTEL
-	git fetch $DIM_DRM_INTEL_REMOTE
+	for remote in $DIM_DRM_INTEL_REMOTE $DIM_DRM_UPSTREAM_REMOTE origin; do
+		git fetch $remote
+	done
 	check_repo_clean $DIM_PREFIX/$DIM_DRM_INTEL Kernel
 
 	for branch in $dim_branches ; do
-- 
2.1.4



More information about the Intel-gfx mailing list