patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Luca Boccassi <bluca@debian.org>
To: stable@dpdk.org
Cc: thomas@monjalon.net, ktraynor@redhat.com, yskoh@mellanox.com,
	christian.ehrhardt@canonical.com
Subject: [dpdk-stable] [PATCH stable-scripts 1/2] 3-request-backport: suppress pushd/popd output
Date: Sun, 24 Feb 2019 12:24:43 +0000	[thread overview]
Message-ID: <20190224122444.24085-1-bluca@debian.org> (raw)

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

             reply	other threads:[~2019-02-24 12:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-24 12:24 Luca Boccassi [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190224122444.24085-1-bluca@debian.org \
    --to=bluca@debian.org \
    --cc=christian.ehrhardt@canonical.com \
    --cc=ktraynor@redhat.com \
    --cc=stable@dpdk.org \
    --cc=thomas@monjalon.net \
    --cc=yskoh@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).