From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 29 Nov 2023 10:38:36 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1r8H1g-00D4xf-0v for lore@lore.pengutronix.de; Wed, 29 Nov 2023 10:38:36 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1r8H1g-0003TR-LV; Wed, 29 Nov 2023 10:38:36 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r8H15-0003AF-Aw; Wed, 29 Nov 2023 10:37:59 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r8H14-00CNDu-Up; Wed, 29 Nov 2023 10:37:58 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1r8H14-00AkM2-LU; Wed, 29 Nov 2023 10:37:58 +0100 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: ptxdist@pengutronix.de Date: Wed, 29 Nov 2023 10:37:46 +0100 Message-ID: <20231129093743.906378-3-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.42.0.586.gbc5204569f7d.dirty In-Reply-To: <20231129093743.906378-1-u.kleine-koenig@pengutronix.de> References: <20231129093743.906378-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1086; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=x+nOwAhUSbCOdgHVwmAoqapNoE6YomrCI2+7q+VWg1E=; b=owGbwMvMwMXY3/A7olbonx/jabUkhtR0tsyMvZ8nTVC0mHKzS3H7ilPHvuaka5cYaXX8mGVj+ jHhy9vDnYzGLAyMXAyyYoos9o1rMq2q5CI71/67DDOIlQlkCgMXpwBMJGgrB8OcJsvEOJ9F53yK Dl/YUfN8UnrL/X8P3Y/wPIqS788yYqtreCabtuR/1PVez9J38QyliRF5NqXdM3aavMz9f85057E NseJhYqWMTqyGovzvOs7+sjezKE1+dYSvSChwpcH61bdCdFyKGuW+5r7ZocJ7QVv2rs2bqzLtTb zbHGpfdzQLtkvt8Oz1llKrm7n1JHt6s2DMvRk3H286VtKUutlN2DfT6qLX00vfWEXz+9S0agzeT 56beL/uxwTdtiX6Qp+ORdVeZOx6z8xuXO58RfVyros1U+GPM2pLrNR4jeedTz7rJbT6+G51g1nJ bT9qj8W8VPHyar7B9MDPy3Zbk/6pyrmMqZsKH8788a8RAA== X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH 2/3] git-ptx-patches: Open .ptxdist/series less often for writing X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Thorsten Scherer Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Signed-off-by: Uwe Kleine-König --- scripts/git-ptx-patches | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/git-ptx-patches b/scripts/git-ptx-patches index df004fb8a8a5..56e82eb2ee56 100755 --- a/scripts/git-ptx-patches +++ b/scripts/git-ptx-patches @@ -204,7 +204,6 @@ fi GIT_EXTRA_ARGS="$GIT_EXTRA_ARGS --summary --stat=80" -cat .ptxdist/series.0 > .ptxdist/series ${GIT} format-patch -N $GIT_EXTRA_ARGS ${tagopt} -o .ptxdist/patches/ ${range} | while read patch; do if "$numbered_patches"; then patchname="${patch#.ptxdist/patches/}" @@ -215,8 +214,7 @@ ${GIT} format-patch -N $GIT_EXTRA_ARGS ${tagopt} -o .ptxdist/patches/ ${range} | echo "$patchname" done > .ptxdist/series.auto -cat .ptxdist/series.auto >> .ptxdist/series -cat .ptxdist/series.1 >> .ptxdist/series +cat .ptxdist/series.0 .ptxdist/series.auto .ptxdist/series.1 > .ptxdist/series cat .ptxdist/series | _md5sum >> .ptxdist/series # The first line of the patch is 'From ...' -- 2.42.0