Re: [PATCH] [RFC] Design for pathname encoding gitattribute [RESEND]
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 22, 2008, 05:35 UTC
- Message-ID
- <alpine.LSU.1.00.0801220527550.5731@racer.site>
- In-Reply-To
- <20080122050215.DE198200A2@wilber.wgtn.cat-it.co.nz>
Hi,
On Tue, 22 Jan 2008, Sam Vilain wrote:
> Documentation/gitattributes.txt | 19 +++++++++++++++++++
As I said on IRC already, I don't think that this is served well as an "attribute"... it is most likely that the issue either affects _all_ filenames , or _none_.
In that, it is very similar to the CR/LF issue we encountered. There also, it depends more on the platform than on the filename if you want to enable special handling or not.
I maintain that it is even more obviously a platform issue than CR/LF, since the UTF-8 normalisation takes place in the filesystem driver -- regardless if it is needed, or wished for, or not -- whereas CR/LF might be not needed/wished for in one certain project, but might well be wished for in another clone _on the same platform_.
So I think that this would be a prime candidate for /etc/gitconfig, even more so than core.crlf.
Ciao, Dscho