From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 07 Dec 2023 12:10:18 +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 1rBCGo-006uEw-1A for lore@lore.pengutronix.de; Thu, 07 Dec 2023 12:10:18 +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 1rBCGo-00037J-GD; Thu, 07 Dec 2023 12:10:18 +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 1rBCGP-0002q1-Fg; Thu, 07 Dec 2023 12:09:53 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.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 1rBCGP-00EAVi-3W; Thu, 07 Dec 2023 12:09:53 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rBCGP-005Ze3-0C; Thu, 07 Dec 2023 12:09:53 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 7 Dec 2023 12:09:53 +0100 Message-Id: <20231207110953.1328652-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231129093743.906378-3-u.kleine-koenig@pengutronix.de> References: <20231129093743.906378-3-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] 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: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= 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 Thanks, applied as cda14c096bdf91154b3fb2485bd7d5d373fb6c8d. Michael [sent from post-receive hook] On Thu, 07 Dec 2023 12:09:52 +0100, Uwe Kleine-König wrote: > Signed-off-by: Uwe Kleine-König > Message-Id: <20231129093743.906378-3-u.kleine-koenig@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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 ...'