* no autocrlf on Visual Studio subdirectory
@ 2011-06-15 13:52 Aaron Gray
2011-06-15 14:16 ` Stephen Bash
0 siblings, 1 reply; 3+ messages in thread
From: Aaron Gray @ 2011-06-15 13:52 UTC (permalink / raw)
To: Git Mailing List
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: no autocrlf on Visual Studio subdirectory
2011-06-15 13:52 no autocrlf on Visual Studio subdirectory Aaron Gray
@ 2011-06-15 14:16 ` Stephen Bash
2011-06-15 15:27 ` Aaron Gray
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Bash @ 2011-06-15 14:16 UTC (permalink / raw)
To: Aaron Gray; +Cc: Git Mailing List
----- Original Message -----
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: no autocrlf on Visual Studio subdirectory
2011-06-15 14:16 ` Stephen Bash
@ 2011-06-15 15:27 ` Aaron Gray
0 siblings, 0 replies; 3+ messages in thread
From: Aaron Gray @ 2011-06-15 15:27 UTC (permalink / raw)
To: Stephen Bash; +Cc: Git Mailing List
On 15 June 2011 15:16, Stephen Bash <bash@genarts.com> wrote:
> ----- Original Message -----
>> 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
Many thanks,
Aaron
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-15 15:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 13:52 no autocrlf on Visual Studio subdirectory Aaron Gray
2011-06-15 14:16 ` Stephen Bash
2011-06-15 15:27 ` Aaron Gray
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).