From: Junio C Hamano <junkio@cox.net>
To: Andy Parkins <andyparkins@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 1/2] pathattr: path based configuration of various attributes.
Date: Thu, 01 Mar 2007 01:24:51 -0800 [thread overview]
Message-ID: <7vhct5wc2k.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <200703010911.56048.andyparkins@gmail.com> (Andy Parkins's message of "Thu, 1 Mar 2007 09:11:54 +0000")
Andy Parkins <andyparkins@gmail.com> writes:
> On Thursday 2007 March 01 07:18, Junio C Hamano wrote:
>
>> [pathattr "text/plain"]
>> conv_i = crlf
>> path = "*.txt"
>> path = "*.c"
>> path = "*.h"
>
> Can I suggest that "crlf" is not the right name for something like this? What
> you actually want is to say
>
> conv_i = convert_from_local_lineendings
> conv_o = convert_to_local_lineendings
The sample traits' value "crlf" is probably a misnomer. As you
noticed, they are to _force_ the conversion. You can add one
that honors core.autocrlf (which would be set to true on Windows
and to false on UNIX).
> conv_i = eol_to_lf
> conv_o = eol_to_local
Probably.
> --- Wild rantings start here, ignore at will ---
Will ignore for now, since I have more interesting patches
coming for your enjoyment ;-).
prev parent reply other threads:[~2007-03-01 9:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-01 7:18 [PATCH 1/2] pathattr: path based configuration of various attributes Junio C Hamano
2007-03-01 9:11 ` Andy Parkins
2007-03-01 9:24 ` Junio C Hamano [this message]
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=7vhct5wc2k.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=andyparkins@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).