patches for DPDK stable branches
 help / color / mirror / Atom feed
From: luca.boccassi@gmail.com
To: stable@dpdk.org
Cc: Luca Boccassi <luca.boccassi@microsoft.com>
Subject: [dpdk-stable] [scripts 2/2] 4-final-review: silence git/pushd/popd commands
Date: Mon, 22 Feb 2021 15:01:15 +0000	[thread overview]
Message-ID: <20210222150115.278569-2-luca.boccassi@gmail.com> (raw)
In-Reply-To: <20210222150115.278569-1-luca.boccassi@gmail.com>

From: Luca Boccassi <luca.boccassi@microsoft.com>

Allow to redirect the output to a file for git-send-email
---
 4-final-review | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/4-final-review b/4-final-review
index 0444b1e..4aa4a75 100755
--- a/4-final-review
+++ b/4-final-review
@@ -54,15 +54,15 @@ do_commit()
 {
 	# $GIT doesn't work, so cd
 
-	pushd $DPDK_DIR
-	git commit -a -s -m "version: ${stable_release_rc}"
+	pushd $DPDK_DIR &>/dev/null
+	git commit -a -s -m "version: ${stable_release_rc}" &>/dev/null
 	if [ "x$SIGN_TAG" == "xyes" ]; then
 		TAG_ARG="-s"
 	else
 		TAG_ARG=""
 	fi
 	git tag ${TAG_ARG} v${stable_release_rc} -a -m "dpdk-${stable_release_rc}"
-	popd
+	popd &>/dev/null
 }
 
 get_shortlog()
-- 
2.29.2


  reply	other threads:[~2021-02-22 15:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-22 15:01 [dpdk-stable] [scripts 1/2] 4-final-review: add support for VERSION file luca.boccassi
2021-02-22 15:01 ` luca.boccassi [this message]
2021-02-22 15:13   ` [dpdk-stable] [scripts 2/2] 4-final-review: silence git/pushd/popd commands Christian Ehrhardt
2021-02-22 15:12 ` [dpdk-stable] [scripts 1/2] 4-final-review: add support for VERSION file Christian Ehrhardt

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=20210222150115.278569-2-luca.boccassi@gmail.com \
    --to=luca.boccassi@gmail.com \
    --cc=luca.boccassi@microsoft.com \
    --cc=stable@dpdk.org \
    /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).