From: Stephen Bash <bash@genarts.com>
To: Aaron Gray <aaronngray.lists@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: no autocrlf on Visual Studio subdirectory
Date: Wed, 15 Jun 2011 10:16:08 -0400 (EDT) [thread overview]
Message-ID: <5843516.7553.1308147368895.JavaMail.root@mail.hq.genarts.com> (raw)
In-Reply-To: <BANLkTikbnKNHxt5wKDjUWYby+p3w0cHcgg@mail.gmail.com>
----- 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
next prev parent reply other threads:[~2011-06-15 14:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-15 13:52 no autocrlf on Visual Studio subdirectory Aaron Gray
2011-06-15 14:16 ` Stephen Bash [this message]
2011-06-15 15:27 ` Aaron Gray
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5843516.7553.1308147368895.JavaMail.root@mail.hq.genarts.com \
--to=bash@genarts.com \
--cc=aaronngray.lists@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).