Re: [dim PATCH] dim: cd to dim repo in list-upstreams

Daniel Vetter
2017-10-05T17:09:15Z

On Thu, Oct 05, 2017 at 11:53:04AM +0300, Jani Nikula wrote:
> Don't assume current directory works.
>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>

On all 6 + this patch here:

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>

Thanks for doing this de-dusting.
-Daniel

> ---
> dim | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/dim b/dim
> index d4c0b72abf6e..79e4fbddd6e1 100755
> --- a/dim
> +++ b/dim
> @@ -1751,6 +1751,8 @@ function dim_list_upstreams
> {
> local dim_drm_upstream_remote
>
> + cd $DIM_PREFIX/$DIM_REPO
> +
> dim_drm_upstream_remote=$(repo_to_remote drm-upstream)
>
> echo origin/master
> --
> 2.11.0
>

--
Daniel Vetter
Software Engineer, Intel Corporation