patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH stable-scripts 1/2] 3-request-backport: suppress pushd/popd output
@ 2019-02-24 12:24 Luca Boccassi
  2019-02-24 12:24 ` [dpdk-stable] [PATCH stable-scripts 2/2] 3-request-backport: use BCC for stable@dpdk.org to bypass filters Luca Boccassi
  2019-03-04 19:13 ` [dpdk-stable] [PATCH stable-scripts 1/2] 3-request-backport: suppress pushd/popd output Yongseok Koh
  0 siblings, 2 replies; 4+ messages in thread
From: Luca Boccassi @ 2019-02-24 12:24 UTC (permalink / raw)
  To: stable; +Cc: thomas, ktraynor, yskoh, christian.ehrhardt

Otherwise it ends up in the email's text

Signed-off-by: Luca Boccassi <bluca@debian.org>
---
 3-request-backport | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/3-request-backport b/3-request-backport
index 5fa814d..8bdf2a4 100755
--- a/3-request-backport
+++ b/3-request-backport
@@ -6,7 +6,7 @@ list=""
 if [ $# -lt 1 ] && [ "$GIT_AM_PAUSE_ON_FAIL" = "yes" ]
 then
 	_scripts_dir="$PWD"
-	pushd $STABLE_DIR
+	pushd $STABLE_DIR &>/dev/null
 	list=$(cat $_scripts_dir/$stable_release/tmp_import/list | tr '\n' ' ')
 	_parent_commit_id=$(cat $_scripts_dir/$stable_release/parent_commit_id)
 	_applied=$(git log --oneline $_parent_commit_id..HEAD | cut -d\  -f2-)
@@ -15,7 +15,7 @@ then
 		_sub=$(grep Subject $_file | cut -d\  -f3-)
 		echo "$_applied" | grep -qF "$_sub" || (head -n1 $_file | awk '{print $2}' >> /tmp/.list-$$)
 	done
-	popd
+	popd &>/dev/null
 else
 	list=$1
 	[ -f "$list" ] || {
-- 
2.20.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-04 19:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-24 12:24 [dpdk-stable] [PATCH stable-scripts 1/2] 3-request-backport: suppress pushd/popd output Luca Boccassi
2019-02-24 12:24 ` [dpdk-stable] [PATCH stable-scripts 2/2] 3-request-backport: use BCC for stable@dpdk.org to bypass filters Luca Boccassi
2019-03-04 19:13   ` Yongseok Koh
2019-03-04 19:13 ` [dpdk-stable] [PATCH stable-scripts 1/2] 3-request-backport: suppress pushd/popd output Yongseok Koh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).