Re: [PATCH 1/1] Avoid illegal filenames when building Documentation on NTFS
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 10, 2019, 20:35 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1907102137060.46@tvgsbejvaqbjf.bet>
- In-Reply-To
- <xmqqef2xu4oz.fsf@gitster-ct.c.googlers.com>
Hi Junio,
On Wed, 10 Jul 2019, Junio C Hamano wrote:
Show 7 quoted lines
> Junio C Hamano <gitster@pobox.com> writes: > > >> In addition, your `+` scheme will break on Windows once it uses `git.exe` > >> or any other non-MSYS2 helper... > > > > I am not sure what you mean here. Is your git.exe disabled not to > > be able to do this: "git.exe add hello+kitty.txt"?
It's not that. The `+` is not allowed on Windows in general.
Mind you, I just read up on the details (see e.g. https://en.wikipedia.org/wiki/Filename#Comparison_of_filename_limitations) and it looks as if NTFS actually _allows_ this. Even VFAT allows it, but FAT32 does not.
So I guess I retract my objections, as there are probably smarter ideas than building Git for Windows on a FAT32 drive.
For aesthetical reasons, I still do not like the convention to append a `+` when appending `.new` would make things clearer, but this is not a hill I am prepared to die on.
Ciao, Dscho