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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux