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

Re: git status internals and line endings

From
Peter Krefting <peter@softwolves.pp.se>
Date
Nov 13, 2009, 09:40 UTC
Message-ID
<alpine.DEB.2.00.0911131039130.11302@ds9.cixit.se>
In-Reply-To
<4AFD1414.6030907@syntevo.com>
Marc Strapetz:
>> Sounds like the core.autocrlf setting (see "git help config"), which I 
>> believe is set by default on Windows.
> I have checked both $GIT_DIR/config and ~/.gitconfig and autocrlf has not 
> been set.

It is usually set by default by the installer. Look at %INSTALLDIR%\etc\gitconfig, it should contain

   [core]
    autoCRLF = true
among other things.
-- 
\\// Peter - http://www.softwolves.pp.se/
Previous: Marc Strapetz
Message 6 of 6 in “git status internals and line endings”
  1. Marc StrapetzNov 12, 2009
  2. Jeff KingNov 13, 2009
  3. Marc StrapetzNov 13, 2009
  4. Erik Faye-LundNov 13, 2009
  5. Marc StrapetzNov 13, 2009
  6. Peter KreftingNov 13, 2009

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.