[Intel-gfx] [PATCH] dim: Suppress output of git pull into the rerere-cache branch
Daniel Vetter
daniel.vetter at ffwll.ch
Fri Jul 21 20:01:15 UTC 2017
Ack, pls push.
-Daniel
On Fri, Jul 21, 2017 at 9:41 PM, Imre Deak <imre.deak at intel.com> wrote:
> The output of git pull into the rr-cache branch isn't really
> interesting, so suppress it like during the rest of rr-cache
> branch maintenance commands.
>
> Cc: Jani Nikula <jani.nikula at intel.com>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Signed-off-by: Imre Deak <imre.deak at intel.com>
> ---
> dim | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dim b/dim
> index 6ba2c085be16..dca73687b69e 100755
> --- a/dim
> +++ b/dim
> @@ -496,7 +496,7 @@ function update_rerere_cache
> echo -n "Updating rerere cache... "
>
> cd $DIM_PREFIX/drm-rerere/
> - git pull
> + git pull &> /dev/null
> mkdir $(rr_cache_dir) &> /dev/null || true
> cp rr-cache/* $(rr_cache_dir) -r --preserve=timestamps
> cd - > /dev/null
> --
> 2.13.2
>
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list