[PATCH 7/7] qf: Fetch all.

Rodrigo Vivi rodrigo.vivi at intel.com
Mon Jan 22 20:00:40 UTC 2018


Usually when we are at the fetch stage we want to fetch
all the related branches.

Fetch all inside the patches directory solves the case
and makes git fetch more useful for the internal scripts.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
 qf | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/qf b/qf
index 1dd2d265b73f..c9d582e0cfc5 100755
--- a/qf
+++ b/qf
@@ -400,15 +400,9 @@ function qf_fetch
 	cd_toplevel
 	repo_start 0
 
-	remote=$(git config branch.$branch.remote)
-
 	cd patches
-	git fetch $remote
+	git fetch --all
 	cd ..
-
-	git fetch $remote
-
-	git fetch $remote
 }
 
 function qf_pull
-- 
2.13.6



More information about the dim-tools mailing list