Thread (2 messages) flat view 2 messages, 2 authors, 2016-08-17

Re: [ANNOUNCE] Git v2.10.0-rc0

From: Torsten Bögershausen <hidden>
Date: 2016-08-17 06:44:35

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
+
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help