Torsten Bögershausen [off-list ref] writes:
On 15.08.16 00:47, Junio C Hamano wrote:
quoted
Torsten Bögershausen (1):
convert: unify the "auto" handling of CRLF
Should we mention this change in the release notes?
The handling of "*.text = auto" was changed, and now
$ echo "* text=auto eol=crlf" >.gitattributes
has the same effect as
$ git config core.autocrlf true
Oh, definitely. Thanks.
On Mon, Aug 15, 2016 at 08:42:48AM -0700, Junio C Hamano wrote:
Torsten Bögershausen [off-list ref] writes:
quoted
On 15.08.16 00:47, Junio C Hamano wrote:
quoted
Torsten Bögershausen (1):
convert: unify the "auto" handling of CRLF
Should we mention this change in the release notes?
The handling of "*.text = auto" was changed, and now
$ echo "* text=auto eol=crlf" >.gitattributes
has the same effect as
$ git config core.autocrlf true
Oh, definitely. Thanks.
Hm, one question remains:
git show 07c92928f2b782330df6e78
[]
+ * The handling of the "text = auto" attribute has been updated.
+ $ echo "* text=auto eol=crlf" >.gitattributes
+ used to have the same effect as
+ $ echo "* text=auto eol=crlf" >.gitattributes
Is this `text=auto` correct ?
I think it should be
used to have the same effect as
$ echo "* text eol=crlf" >.gitattributes
# In other words, the `auto` was ignored, as explained here:
+ $ git config core.eol crlf
+ i.e. declaring all files are text; the combination now is
+ equivalent to doing
+ $ git config core.autocrlf true
+