[cfe-dev] [llvm-dev] Shortest RFC ever: I propose we rename files using `.TXT` extension to use `.txt`

Nico Weber via cfe-dev cfe-dev at lists.llvm.org
Fri Jan 18 11:43:37 PST 2019


I did a case-only rename in https://reviews.llvm.org/rL272701 . There were
similar concerns, but it worked out fine. I had tested that it works on
Windows before doing it. I did that through svn. So I too think this
shouldn't be an issue.

On Fri, Jan 18, 2019 at 11:59 AM via cfe-dev <cfe-dev at lists.llvm.org> wrote:

>
>
> > -----Original Message-----
> > From: cfe-dev [mailto:cfe-dev-bounces at lists.llvm.org] On Behalf Of Jacob
> > Carlborg via cfe-dev
> > Sent: Friday, January 18, 2019 5:40 AM
> > To: cfe-dev at lists.llvm.org
> > Cc: llvm-dev at lists.llvm.org
> > Subject: Re: [cfe-dev] [llvm-dev] Shortest RFC ever: I propose we rename
> > files using `.TXT` extension to use `.txt`
> >
> > On 2019-01-18 04:27, Zachary Turner via cfe-dev wrote:
> > > Yea, I honestly don't think this will be a problem.  I'm happy to help
> > > you test this in the office one day, you can just check in a test file,
> > > i'll sync, then rename with different case and check it in again, and
> > > I'll sync.  But I'm with you.  I'd be very surprised if this is a
> > > problem on modern clients.
> >
> > On macOS (which uses a case-insensitive) filesystem "git mv" works as
> > expected. But if you use the regular "mv" command "git status" will not
> > see the file as being renamed.
>
> FTR, on Windows I have accidentally done things like
>
>     git add lib/debuginfo/foobar
>
> which works totally fine, until you try to checkout on Linux, where
> you will discover you have both a lib/DebugInfo and a lib/debuginfo
> directory sitting side-by-side, and your build dies mysteriously.
>
> I would *never* be sanguine about multi-platform tools like git or svn
> behaving "the way you expect" when it comes to filespec case.
> --paulr
>
> >
> > --
> > /Jacob Carlborg
> >
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at lists.llvm.org
> > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190118/dcae3d49/attachment.html>


More information about the cfe-dev mailing list