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

Re: [ANNOUNCE] Git v2.12.0

From
Willy Tarreau <w@1wt.eu>
Date
Feb 25, 2017, 07:40 UTC
Message-ID
<20170225074057.GA460@1wt.eu>
In-Reply-To
<xmqqd1e72xs5.fsf@gitster.mtv.corp.google.com>
Hi Junio,
On Fri, Feb 24, 2017 at 11:28:58AM -0800, Junio C Hamano wrote:
Show 6 quoted lines
>  * Use of an empty string that is used for 'everything matches' is
>    still warned and Git asks users to use a more explicit '.' for that
>    instead.  The hope is that existing users will not mind this
>    change, and eventually the warning can be turned into a hard error,
>    upgrading the deprecation into removal of this (mis)feature.  That
>    is not scheduled to happen in the upcoming release (yet).

FWIW '.' is not equivalent to '' when it comes to grep or such commands, you should suggest '^' or '$' instead, otherwise you'll miss empty lines and users will continue to use '' for that purpose. BTW I do use grep '' a lot, but only on file systems, not within git (eg: to display contents of /sys).

Cheers, Willy

Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 5 in “[ANNOUNCE] Git v2.12.0”
  1. Junio C HamanoFeb 24, 2017
  2. Willy TarreauFeb 25, 2017
  3. Junio C HamanoFeb 25, 2017
  4. Willy TarreauFeb 25, 2017
  5. Ævar Arnfjörð BjarmasonFeb 27, 2017

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.