From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <luca.boccassi@gmail.com>
Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com
 [209.85.128.47]) by dpdk.org (Postfix) with ESMTP id 69F22292D
 for <stable@dpdk.org>; Sun, 24 Feb 2019 13:24:55 +0100 (CET)
Received: by mail-wm1-f47.google.com with SMTP id e74so5600197wmg.3
 for <stable@dpdk.org>; Sun, 24 Feb 2019 04:24:55 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=0hnUSt4hxD5xQY1xXCtHnTLqgIUB67eq0/b3B7In2J8=;
 b=ODQ0M8x8pFtRr3vZlHhNfSq1097/vgbGJWp5cyeEFH5QhSxLV7xUeMyuIOqjaHidzK
 uFvZp71QTtUbIjIdmkPs9S0TQPJnE0ZaGtPbCplbU/QvuKJhMCddq4V7AqtLFonexzvw
 cPmMg/DXQGnjLygWHMyFSltCu5K/S4R0cGv1fLqUmC0f97EeCeQ21m69bLFIAwPdd8pR
 aIfej2Tni5zaXQo2YLht7rHeTWoz9MKseGPSQpAaHpJKLRDo3wMAhDz0I9UNMcaL7+LE
 H5iQpo/wFv5xO0imYwvf1RNv06Dj1V1VXYLWCVc/3WO2BmwfjNqeCETG8O2tjl+5TMSY
 w8EA==
X-Gm-Message-State: AHQUAuYY2bUkM6wnrWa36Aw/sfOTUQvsQ4qM193Fi0AyvDIICgPROwTA
 IENmzJIZdbCU8KrKtx9F8mOXoQcgmRw=
X-Google-Smtp-Source: AHgI3IZOZCVOOyOgXpzjBTRJ7tSbajXoY3BLO+XVru1VBmhVJSWI45JtzKLCVO+GpQ4rMXnpv0Gq2Q==
X-Received: by 2002:a05:600c:2:: with SMTP id g2mr7752669wmc.109.1551011094656; 
 Sun, 24 Feb 2019 04:24:54 -0800 (PST)
Received: from localhost ([2a01:4b00:f419:6f00:f108:e379:7b7e:d5bc])
 by smtp.gmail.com with ESMTPSA id c8sm4095943wrx.6.2019.02.24.04.24.53
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sun, 24 Feb 2019 04:24:53 -0800 (PST)
From: Luca Boccassi <bluca@debian.org>
To: stable@dpdk.org
Cc: thomas@monjalon.net, ktraynor@redhat.com, yskoh@mellanox.com,
 christian.ehrhardt@canonical.com
Date: Sun, 24 Feb 2019 12:24:43 +0000
Message-Id: <20190224122444.24085-1-bluca@debian.org>
X-Mailer: git-send-email 2.20.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-stable] [PATCH stable-scripts 1/2] 3-request-backport:
	suppress pushd/popd output
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Feb 2019 12:24:55 -0000

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