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

Re: Exact format of tree objets

From
Thomas Rast <trast@inf.ethz.ch>
Date
Jun 18, 2013, 17:47 UTC
Message-ID
<87bo73b9bb.fsf@linux-k42r.v.cablecom.net>
In-Reply-To
<CABx5MBTtvyZT+TUj6iibFngbMnGoDvFT2wXM6oDACtuJ46kR7Q@mail.gmail.com>
Chico Sokol <chico.sokol@gmail.com> writes:
> What is the encoding of the filename?

Git just considers filename a bunch of bytes that form a posix filename (i.e., may not contain '/' and '\0'). So depending on your point of view, it's either "no encoding" or "whatever you put into it".

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Chico SokolNext: Junio C Hamano
Message 4 of 7 in “Exact format of tree objets”
  1. Chico SokolJun 11, 2013
  2. Ilari LiusvaaraJun 11, 2013
  3. Chico SokolJun 18, 2013
  4. Thomas RastJun 18, 2013
  5. Junio C HamanoJun 11, 2013
  6. Jakub NarebskiJun 12, 2013
  7. Chico SokolJun 18, 2013

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.