Skip to contentSkip to conversation

dim: Suppress output of git pull into the rerere-cache branch

PATCH In review Imre Deak 2 participants 2 messages Jul 21, 2017

lore
Share & tools
lore

Imre Deak

author
#0 lore raw

PATCH 1/1 dim: Suppress output of git pull into the rerere-cache branch

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 <[email protected]>
Cc Daniel Vetter <[email protected]>
---
 dim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
dim +1 -1
index 6ba2c085be16..dca73687b69e 100755
@@ -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
Signature · 6 lines
2.13.2

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

Ack, pls push.
-Daniel

Quoted 27 lines · Imre Deak

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 <[email protected]>
Cc Daniel Vetter <[email protected]>
---
 dim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
dim +1 -2
index 6ba2c085be16..dca73687b69e 100755
@@ -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

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx