[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dim-tools
Subject: Re: [PATCH] dim: don't opencode fetch_all in dim_update_branches
From: Daniel Vetter <daniel () ffwll ! ch>
Date: 2018-10-24 8:04:30
Message-ID: 20181024080430.GZ324 () phenom ! ffwll ! local
[Download RAW message or body]
On Tue, Oct 23, 2018 at 04:32:47PM +0100, Emil Velikov wrote:
> From: Emil Velikov <emil.velikov@collabora.com>
>
> Simply make use of the function, instead of duplicating it.
>
> Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Applied, thanks.
-Daniel
> ---
> dim | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/dim b/dim
> index 8be504e46995..21e1e0d6ed45 100755
> --- a/dim
> +++ b/dim
> @@ -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
>
> --
> 2.19.1
>
> _______________________________________________
> dim-tools mailing list
> dim-tools@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dim-tools
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dim-tools mailing list
dim-tools@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dim-tools
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic