git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [ANNOUNCE] Git v2.10.0-rc0

From
Torsten Bögershausen <tboegi@web.de>
Date
Aug 17, 2016, 06:42 UTC
Message-ID
<20160817064245.GA5775@tb-raspi>
In-Reply-To
<xmqqoa4uhwcn.fsf@gitster.mtv.corp.google.com>
On Mon, Aug 15, 2016 at 08:42:48AM -0700, Junio C Hamano wrote:
Show 15 quoted lines
> Torsten Bögershausen <tboegi@web.de> writes:
> 
> > On 15.08.16 00:47, Junio C Hamano wrote:
> >> 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
+
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 7 in “[ANNOUNCE] Git v2.10.0-rc0”
  1. Junio C HamanoAug 14, 2016
  2. Torsten BögershausenAug 15, 2016
  3. Junio C HamanoAug 15, 2016
  4. Torsten BögershausenAug 17, 2016
  5. Junio C HamanoAug 17, 2016
  6. Junio C HamanoAug 17, 2016
  7. Torsten BögershausenAug 17, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.