From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lj1-f194.google.com ([209.85.208.194]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iWhFf-0007Mk-L2 for ptxdist@pengutronix.de; Mon, 18 Nov 2019 14:39:36 +0100 Received: by mail-lj1-f194.google.com with SMTP id y23so18947793ljh.10 for ; Mon, 18 Nov 2019 05:39:35 -0800 (PST) MIME-Version: 1.0 References: <20191111113129.18152-1-rhi@pengutronix.de> <20191118093239.18000-1-rhi@pengutronix.de> In-Reply-To: <20191118093239.18000-1-rhi@pengutronix.de> From: Jon Ringle Date: Mon, 18 Nov 2019 08:39:22 -0500 Message-ID: Subject: Re: [ptxdist] [PATCH v3] git-ptx-patches: call git in a pristine environment List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0392267588==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============0392267588== Content-Type: multipart/alternative; boundary="000000000000f68a6905979f1394" --000000000000f68a6905979f1394 Content-Type: text/plain; charset="UTF-8" On Mon, Nov 18, 2019 at 4:32 AM Roland Hieber wrote: > > @@ -129,7 +144,7 @@ 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} | sed -e 's,^.ptxdist/patches/,,' > .ptxdist/series.auto > +${GIT} format-patch -N $GIT_EXTRA_ARGS ${tagopt} -o .ptxdist/patches/ > ${range} | sed -e 's,^.ptxdist/patches/,,' > .ptxdist/series.auto > In my own ptxdist git repo, I have a patch that adds `-M` to make file renames less verbose. Adding this should not affect the output of any patch series maintained by ptxdist. I needed it to make less verbose some package I was changing locally: git format-patch -M -N $GIT_EXTRA_ARGS ${tagopt} -o .ptxdist/patches/ ${range} | sed -e 's,^.ptxdist/patches/,,' > .ptxdist/series.auto -Jon --000000000000f68a6905979f1394 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Nov 18, 2019 at 4:32 AM Rolan= d Hieber <rhi@pengutronix.de&g= t; wrote:

@@ -129,7 +144,7 @@ fi
=C2=A0GIT_EXTRA_ARGS=3D"$GIT_EXTRA_ARGS --summary --stat=3D80"
=C2=A0cat .ptxdist/series.0 > .ptxdist/series
-git format-patch -N $GIT_EXTRA_ARGS ${tagopt} -o .ptxdist/patches/ ${range= } | sed -e 's,^.ptxdist/patches/,,' > .ptxdist/series.auto
+${GIT} format-patch -N $GIT_EXTRA_ARGS ${tagopt} -o .ptxdist/patches/ ${ra= nge} | sed -e 's,^.ptxdist/patches/,,' > .ptxdist/series.auto

In my own ptxdist git repo, I have a patc= h that adds `-M` to make file renames less verbose. Adding this should not = affect the output of any patch series maintained by ptxdist. I needed it to= make less verbose some package I was changing locally:
git forma= t-patch -M -N $GIT_EXTRA_ARGS ${tagopt} -o .ptxdist/patches/ ${range} | sed= -e 's,^.ptxdist/patches/,,' > .ptxdist/series.auto
-Jon
--000000000000f68a6905979f1394-- --===============0392267588== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de --===============0392267588==--