From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 09 Jul 2021 08:53:42 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m1kOM-0007NQ-K2 for lore@lore.pengutronix.de; Fri, 09 Jul 2021 08:53:42 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m1kOM-0005Ie-5E; Fri, 09 Jul 2021 08:53:42 +0200 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m1kNp-0005IV-Dx for ptxdist@pengutronix.de; Fri, 09 Jul 2021 08:53:09 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1m1kNp-0004bf-48 for ptxdist@pengutronix.de; Fri, 09 Jul 2021 08:53:09 +0200 Date: Fri, 9 Jul 2021 08:53:09 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Message-ID: <20210709065309.GI28381@pengutronix.de> Mail-Followup-To: ptxdist@pengutronix.de References: <20210627231121.28313-1-rhi@pengutronix.de> <20210627231121.28313-6-rhi@pengutronix.de> <20210628064213.GK25044@pengutronix.de> <20210708200231.2jzriwcljzcwq2qf@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210708200231.2jzriwcljzcwq2qf@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 08:44:42 up 141 days, 10:08, 113 users, load average: 0.01, 0.07, 0.12 User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] [PATCH v2 6/7] ptxd_lib_imx_hab: fix indentation 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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.ext.pengutronix.de); SAEximRunCond expanded to false On Thu, Jul 08, 2021 at 10:02:31PM +0200, Roland Hieber wrote: > On Mon, Jun 28, 2021 at 08:42:13AM +0200, Michael Olbrich wrote: > > On Mon, Jun 28, 2021 at 01:11:20AM +0200, Roland Hieber wrote: > > > Be uniform with bin/ptxdist, indent with one tab instead of mixed tabs > > > and spaces. > > > > No. Everything is scripts is indented this way: Indention is 4 Spaces > > tabwidth is 8 and tabs are not expanded. Blame Marc he started it this way > > :-). > > So because it started this way it can never be changed? If we change it, then everything and not a single file. And we should coordinate this, so that there are no pending patches somewhere. And I'm not convinced it's a good idea in general. I prefer indenting with just tabs as well, but it's more important for me that 'git blame' works well. Michael > > > Signed-off-by: Roland Hieber > > > --- > > > PATCH v2 (rhi): > > > - new patch in v2 > > > - not essential, but slowly start fixing indentation in scripts/lib > > > - git show -w is empty > > > --- > > > scripts/lib/ptxd_lib_imx_hab.sh | 86 ++++++++++++++++----------------- > > > 1 file changed, 43 insertions(+), 43 deletions(-) > > > > > > diff --git a/scripts/lib/ptxd_lib_imx_hab.sh b/scripts/lib/ptxd_lib_imx_hab.sh > > > index fa5b3e2c1439..7af2b1112855 100644 > > > --- a/scripts/lib/ptxd_lib_imx_hab.sh > > > +++ b/scripts/lib/ptxd_lib_imx_hab.sh > > > @@ -27,64 +27,64 @@ > > > # This will contain the srk hash which must be written to the fuses > > > # > > > ptxd_make_imx_habv4_gen_table_impl() { > > > - local group="${1}" > > > - local template="${1}" > > > - local srk_count="${2}" > > > - local table_bin="${pkg_build_dir}/imx-srk-table.bin" > > > - local srk_fuse_bin="${pkg_build_dir}/imx-srk-fuse.bin" > > > - local -a certs > > > - local i > > > + local group="${1}" > > > + local template="${1}" > > > + local srk_count="${2}" > > > + local table_bin="${pkg_build_dir}/imx-srk-table.bin" > > > + local srk_fuse_bin="${pkg_build_dir}/imx-srk-fuse.bin" > > > + local -a certs > > > + local i > > > > > > - case "${template}" in > > > - *%d*) #