no autocrlf on Visual Studio subdirectory

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

no autocrlf on Visual Studio subdirectory

From: Aaron Gray <hidden>
Date: 2016-06-15 22:51:28

Hi,

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.

Many thanks in advance,

Aaron

Re: no autocrlf on Visual Studio subdirectory

From: Stephen Bash <hidden>
Date: 2016-06-15 22:51:28

----- Original Message -----
From: "Aaron Gray" <redacted>
To: "Git Mailing List" <redacted>
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

Re: no autocrlf on Visual Studio subdirectory

From: Aaron Gray <hidden>
Date: 2016-06-15 22:51:29

On 15 June 2011 15:16, Stephen Bash [off-list ref] wrote:
----- Original Message -----
quoted
From: "Aaron Gray" <redacted>
To: "Git Mailing List" <redacted>
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
Many thanks,

Aaron
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help