public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stefano Brivio <sbrivio@redhat•com>
To: "Alexander A. Klimov" <grandmaster@al2klimov•de>
Cc: Pablo Neira Ayuso <pablo@netfilter•org>,
	Jozsef Kadlecsik <kadlec@netfilter•org>,
	Florian Westphal <fw@strlen•de>,
	"David S. Miller" <davem@davemloft•net>,
	Jakub Kicinski <kuba@kernel•org>,
	Alan Stern <stern@rowland•harvard.edu>,
	Andrea Parri <parri.andrea@gmail•com>,
	Will Deacon <will@kernel•org>,
	Peter Zijlstra <peterz@infradead•org>,
	Boqun Feng <boqun.feng@gmail•com>,
	Nicholas Piggin <npiggin@gmail•com>,
	David Howells <dhowells@redhat•com>,
	Jade Alglave <j.alglave@ucl•ac.uk>,
	Luc Maranget <luc.maranget@inria•fr>,
	"Paul E. McKenney" <paulmck@kernel•org>,
	Akira Yokosawa <akiyks@gmail•com>,
	Daniel Lustig <dlustig@nvidia•com>,
	linux-kernel@vger•kernel.org, netfilter-devel@vger•kernel.org,
	coreteam@netfilter•org, netdev@vger•kernel.org,
	linux-arch@vger•kernel.org
Subject: Re: Good idea to rename files in include/uapi/ ?
Date: Sun, 14 Jun 2020 22:34:56 +0200	[thread overview]
Message-ID: <20200614223456.13807a00@redhat.com> (raw)
In-Reply-To: <9feded75-4b45-2821-287b-af00ec5f910f@al2klimov.de>

On Sun, 14 Jun 2020 21:41:17 +0200
"Alexander A. Klimov" <grandmaster@al2klimov•de> wrote:

> Hello there!
> 
> At the moment one can't checkout a clean working directory w/o any 
> changed files on a case-insensitive FS as the following file names have 
> 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.

> ➜  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
> ➜  linux git:(96144c58abe7)
> 
> Also even on a case-sensitive one VIm seems to have trouble with editing 
> 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 
> not sure:
> 
> *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?

-- 
Stefano


  parent reply	other threads:[~2020-06-14 20:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-14 19:41 Good idea to rename files in include/uapi/ ? Alexander A. Klimov
2020-06-14 20:19 ` David Howells
2020-06-14 21:08   ` Jan Engelhardt
2020-06-14 22:01     ` Pablo Neira Ayuso
2020-06-14 23:34     ` Alexander A. Klimov
2020-06-22 11:37       ` Jan Engelhardt
2020-06-22 12:07         ` Pablo Neira Ayuso
2020-06-22 18:06         ` Alexander A. Klimov
2020-06-14 20:34 ` Stefano Brivio [this message]
2020-06-14 23:07   ` Alexander A. Klimov
2020-06-15 11:11     ` Geert Uytterhoeven
2020-06-14 22:47 ` Al Viro
2020-06-15 11:12 ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200614223456.13807a00@redhat.com \
    --to=sbrivio@redhat$(echo .)com \
    --cc=akiyks@gmail$(echo .)com \
    --cc=boqun.feng@gmail$(echo .)com \
    --cc=coreteam@netfilter$(echo .)org \
    --cc=davem@davemloft$(echo .)net \
    --cc=dhowells@redhat$(echo .)com \
    --cc=dlustig@nvidia$(echo .)com \
    --cc=fw@strlen$(echo .)de \
    --cc=grandmaster@al2klimov$(echo .)de \
    --cc=j.alglave@ucl$(echo .)ac.uk \
    --cc=kadlec@netfilter$(echo .)org \
    --cc=kuba@kernel$(echo .)org \
    --cc=linux-arch@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=luc.maranget@inria$(echo .)fr \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=netfilter-devel@vger$(echo .)kernel.org \
    --cc=npiggin@gmail$(echo .)com \
    --cc=pablo@netfilter$(echo .)org \
    --cc=parri.andrea@gmail$(echo .)com \
    --cc=paulmck@kernel$(echo .)org \
    --cc=peterz@infradead$(echo .)org \
    --cc=stern@rowland$(echo .)harvard.edu \
    --cc=will@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox