From: Yongseok Koh <yskoh@mellanox.com>
To: Luca Boccassi <bluca@debian.org>
Cc: dpdk stable <stable@dpdk.org>,
Thomas Monjalon <thomas@monjalon.net>,
"ktraynor@redhat.com" <ktraynor@redhat.com>,
"christian.ehrhardt@canonical.com"
<christian.ehrhardt@canonical.com>
Subject: Re: [dpdk-stable] [PATCH stable-scripts 1/2] 3-request-backport: suppress pushd/popd output
Date: Mon, 4 Mar 2019 19:13:00 +0000 [thread overview]
Message-ID: <6F464B70-8636-451A-A8E4-6724B5A8E47E@mellanox.com> (raw)
In-Reply-To: <20190224122444.24085-1-bluca@debian.org>
> On Feb 24, 2019, at 4:24 AM, Luca Boccassi <bluca@debian.org> wrote:
>
> Otherwise it ends up in the email's text
>
> Signed-off-by: Luca Boccassi <bluca@debian.org>
> ---
Acked-by: Yongseok Koh <yskoh@mellanox.com>
Thanks
> 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
>
prev parent reply other threads:[~2019-03-04 19:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Yongseok Koh
2019-03-04 19:13 ` Yongseok Koh [this message]
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=6F464B70-8636-451A-A8E4-6724B5A8E47E@mellanox.com \
--to=yskoh@mellanox.com \
--cc=bluca@debian.org \
--cc=christian.ehrhardt@canonical.com \
--cc=ktraynor@redhat.com \
--cc=stable@dpdk.org \
--cc=thomas@monjalon.net \
/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).