Skip to content
Snippets Groups Projects
Commit 61ab7fce authored by Simona Vetter's avatar Simona Vetter
Browse files

dim: fetch all repos in dim status


To make sure the report is actually accurate. Motivated in a
discussion with Joonas.

Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
parent 78f3711e
No related branches found
No related tags found
No related merge requests found
......@@ -651,6 +651,16 @@ function commit_rerere_cache
git push $DRY_RUN $remote HEAD >& /dev/null && echo "Done."
}
function fetch_all
{
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
}
function dim_rebuild_tip
{
local integration_branch specfile first rerere repo remote
......@@ -682,12 +692,7 @@ function dim_rebuild_tip
# that they look the same for everyone
git config merge.conflictstyle merge
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
# merge -fixes
for conf in "${drm_tip_config[@]}"; do
......@@ -1834,6 +1839,8 @@ function dim_status
cd $DIM_PREFIX/$DIM_REPO
fetch_all
drm_remote=$(repo_to_remote drm-upstream)
for branch in $dim_branches ; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment