From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio Subject: Re: Good idea to rename files in include/uapi/ ? Date: Sun, 14 Jun 2020 22:34:56 +0200 Message-ID: <20200614223456.13807a00@redhat.com> References: <9feded75-4b45-2821-287b-af00ec5f910f@al2klimov.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <9feded75-4b45-2821-287b-af00ec5f910f@al2klimov.de> Sender: netdev-owner@vger.kernel.org To: "Alexander A. Klimov" Cc: Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , "David S. Miller" , Jakub Kicinski , Alan Stern , Andrea Parri , Will Deacon , Peter Zijlstra , Boqun Feng , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , "Paul E. McKenney" , Akira Yokosawa , Daniel Lustig , linux-kernel@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org List-Id: linux-arch.vger.kernel.org On Sun, 14 Jun 2020 21:41:17 +0200 "Alexander A. Klimov" wrote: > Hello there! >=20 > At the moment one can't checkout a clean working directory w/o any=20 > changed files on a case-insensitive FS as the following file names have=20 > lower-case duplicates: They are not duplicates: matching extensions are lowercase, target extensions are uppercase. DSCP is the extension to set DSCP bits, dscp is the extension to match on those packet bits. > =E2=9E=9C linux git:(96144c58abe7) git ls-files |sort -f |uniq -id > include/uapi/linux/netfilter/xt_CONNMARK.h > include/uapi/linux/netfilter/xt_DSCP.h > include/uapi/linux/netfilter/xt_MARK.h > include/uapi/linux/netfilter/xt_RATEEST.h > include/uapi/linux/netfilter/xt_TCPMSS.h > include/uapi/linux/netfilter_ipv4/ipt_ECN.h > include/uapi/linux/netfilter_ipv4/ipt_TTL.h > include/uapi/linux/netfilter_ipv6/ip6t_HL.h > net/netfilter/xt_DSCP.c > net/netfilter/xt_HL.c > net/netfilter/xt_RATEEST.c > net/netfilter/xt_TCPMSS.c > tools/memory-model/litmus-tests/Z6.0+pooncelock+poonceLock+pombonce.litmus > =E2=9E=9C linux git:(96144c58abe7) >=20 > Also even on a case-sensitive one VIm seems to have trouble with editing= =20 > both case-insensitively equal files at the same time. ...what trouble exactly? > I was going to make a patch renaming the respective duplicates, but I'm=20 > not sure: >=20 > *Is it a good idea to rename files in include/uapi/ ?* I'm not sure it's a good idea to even use git on a case-insensitive filesystem. I'm curious, what is your use case? --=20 Stefano From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com ([205.139.110.61]:42742 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726648AbgFNUfP (ORCPT ); Sun, 14 Jun 2020 16:35:15 -0400 Date: Sun, 14 Jun 2020 22:34:56 +0200 From: Stefano Brivio Subject: Re: Good idea to rename files in include/uapi/ ? Message-ID: <20200614223456.13807a00@redhat.com> In-Reply-To: <9feded75-4b45-2821-287b-af00ec5f910f@al2klimov.de> References: <9feded75-4b45-2821-287b-af00ec5f910f@al2klimov.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-arch-owner@vger.kernel.org List-ID: To: "Alexander A. Klimov" Cc: Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , "David S. Miller" , Jakub Kicinski , Alan Stern , Andrea Parri , Will Deacon , Peter Zijlstra , Boqun Feng , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , "Paul E. McKenney" , Akira Yokosawa , Daniel Lustig , linux-kernel@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-arch@vger.kernel.org Message-ID: <20200614203456.xGJP7NfwUPZcwzik0PUj_XTz38Uo8lUeOJF03CMkrhM@z> On Sun, 14 Jun 2020 21:41:17 +0200 "Alexander A. Klimov" wrote: > Hello there! >=20 > At the moment one can't checkout a clean working directory w/o any=20 > changed files on a case-insensitive FS as the following file names have=20 > lower-case duplicates: They are not duplicates: matching extensions are lowercase, target extensions are uppercase. DSCP is the extension to set DSCP bits, dscp is the extension to match on those packet bits. > =E2=9E=9C linux git:(96144c58abe7) git ls-files |sort -f |uniq -id > include/uapi/linux/netfilter/xt_CONNMARK.h > include/uapi/linux/netfilter/xt_DSCP.h > include/uapi/linux/netfilter/xt_MARK.h > include/uapi/linux/netfilter/xt_RATEEST.h > include/uapi/linux/netfilter/xt_TCPMSS.h > include/uapi/linux/netfilter_ipv4/ipt_ECN.h > include/uapi/linux/netfilter_ipv4/ipt_TTL.h > include/uapi/linux/netfilter_ipv6/ip6t_HL.h > net/netfilter/xt_DSCP.c > net/netfilter/xt_HL.c > net/netfilter/xt_RATEEST.c > net/netfilter/xt_TCPMSS.c > tools/memory-model/litmus-tests/Z6.0+pooncelock+poonceLock+pombonce.litmus > =E2=9E=9C linux git:(96144c58abe7) >=20 > Also even on a case-sensitive one VIm seems to have trouble with editing= =20 > both case-insensitively equal files at the same time. ...what trouble exactly? > I was going to make a patch renaming the respective duplicates, but I'm=20 > not sure: >=20 > *Is it a good idea to rename files in include/uapi/ ?* I'm not sure it's a good idea to even use git on a case-insensitive filesystem. I'm curious, what is your use case? --=20 Stefano