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

Re: Does GIT require property like Subversion?

From
JGJan-Benedict Glaw <jbglaw@lug-owl.de>
Date
Oct 8, 2006, 09:19 UTC
Message-ID
<20061008091900.GG30283@lug-owl.de>
In-Reply-To
<4528C09B.3030004@gmail.com>
On Sun, 2006-10-08 17:10:51 +0800, Liu Yubao <yubao.liu@gmail.com> wrote:
Show 5 quoted lines
> I want to know whether there is a plan to add this feature, or GIT doesn't
> require it at all.
> 
> Properties like encoding (path name, file content), eol-style, mime-type
> are useful for editing.

GIT is a content tracker. It won't ever fiddle with your line endings. You put data in there and it'll be conserved bit-by-bit. So if you need to store file encodings, MIME types, automatic CR/CRLF/LF converstion etc, you have to put this metadata into some additional files, but GIT won't specifically handle that in any way.

MfG, JBG
-- 
      Jan-Benedict Glaw      jbglaw@lug-owl.de              +49-172-7608481
Signature of:                     Eine Freie Meinung in einem Freien Kopf
the second  :                   für einen Freien Staat voll Freier Bürger.
Previous: Liu YubaoNext: Jakub Narebski
Message 2 of 8 in “Does GIT require property like Subversion?”
  1. Liu YubaoOct 8, 2006
  2. Jan-Benedict GlawOct 8, 2006
  3. Jakub NarebskiOct 8, 2006
  4. Jakub NarebskiOct 8, 2006
  5. Robin RosenbergOct 8, 2006
  6. Petr BaudisOct 8, 2006
  7. Jakub NarebskiOct 8, 2006
  8. Liu YubaoOct 9, 2006

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.