Skip to contentSkip to conversation

dim: don't opencode fetch_all in dim_update_branches

PATCH In review Emil Velikov 1 participant 2 messages Oct 23, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dim: don't opencode fetch_all in dim_update_branches

From: Emil Velikov <[email protected]>

Simply make use of the function, instead of duplicating it.

---
 dim | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
dim +1 -6
index 8be504e46995..21e1e0d6ed45 100755
@@ -2026,12 +2026,7 @@ function dim_update_branches
 
 	cd $DIM_PREFIX/$DIM_REPO
 
-	for repo in "${!drm_tip_repos[@]}"; do
-		remote=$(repo_to_remote $repo)
-		echo -n "Fetching $repo (local remote $remote)... "
-		git_fetch_helper $remote
-		echo "Done."
-	done
+	fetch_all
 
 	assert_repo_clean
 
Signature · 6 lines
2.19.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel