git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Sam VilainNext: Junio C Hamano
Message 2 of 11 in “[RFC] Design for pathname encoding gitattribute [RESEND]”
  1. [RFC] Design for pathname encoding gitattribute [RESEND]Sam Vilain, Jan 22, 2008
  2. Johannes SchindelinJan 22, 2008
  3. Junio C HamanoJan 22, 2008
  4. Junio C HamanoJan 22, 2008
  5. Junio C HamanoJan 22, 2008
  6. Mark JunkerJan 22, 2008
  7. Junio C HamanoJan 22, 2008
  8. Rafael Garcia-SuarezJan 22, 2008
  9. Sam VilainJan 22, 2008
  10. Junio C HamanoJan 22, 2008
  11. Sam VilainJan 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.