[Intel-gfx] [dim PATCH 1/2] dim: fetch Linus' tree again on update-branches
Jani Nikula
jani.nikula at intel.com
Tue Nov 29 16:17:15 UTC 2016
Fixes: 6552af2d32c4 ("dim: fix update-branches to fetch all available nightly repos")
Cc: Archit Taneja <architt at codeaurora.org>
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
dim | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dim b/dim
index 3dd2d1dec796..562cbc64c93e 100755
--- a/dim
+++ b/dim
@@ -1255,6 +1255,14 @@ function dim_update_branches
local repo remote
cd $DIM_PREFIX/$DIM_DRM_INTEL
+
+ if remote=$(url_to_remote $linux_upstream_git 2>/dev/null); then
+ echo -n "Fetching linux (local remote $remote)... "
+ # git fetch returns 128 if there's nothing to be fetched
+ git fetch -q $remote || true
+ echo "Done."
+ fi
+
for repo in "${!drm_tip_repos[@]}"; do
url=${drm_tip_repos[$repo]}
if ! remote=$(url_to_remote $url 2>/dev/null); then
--
2.1.4
More information about the Intel-gfx
mailing list