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

Re: no autocrlf on Visual Studio subdirectory

From
SBStephen Bash <bash@genarts.com>
Date
Jun 15, 2011, 14:16 UTC
Message-ID
<5843516.7553.1308147368895.JavaMail.root@mail.hq.genarts.com>
In-Reply-To
<BANLkTikbnKNHxt5wKDjUWYby+p3w0cHcgg@mail.gmail.com>
----- Original Message -----
Show 8 quoted lines
> From: "Aaron Gray" <aaronngray.lists@gmail.com>
> To: "Git Mailing List" <git@vger.kernel.org>
> Sent: Wednesday, June 15, 2011 9:52:58 AM
> Subject: no autocrlf on Visual Studio subdirectory
> 
> I am wondering if there is a way of keeping CRLF's under my
> VisualStudio2010 subdirectory but applying core.autocrlf on all other
> repository directories.
Short answer is gitattributes eol setting.  Git will fallback to core.autocrlf for files that aren't named in the .gitattributes file.
Potentially useful is this [1] thread.
[1] http://thread.gmane.org/gmane.comp.version-control.git/174413/focus=174496

HTH, Stephen

Previous: Aaron GrayNext: Aaron Gray
Message 2 of 3 in “no autocrlf on Visual Studio subdirectory”
  1. Aaron GrayJun 15, 2011
  2. Stephen BashJun 15, 2011
  3. Aaron GrayJun 15, 2011

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.