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

Re: [PATCH 4/6] RelNotes: mention that PCRE v2 exposes the same syntax

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 20, 2017, 15:24 UTC
Message-ID
<xmqqzibzku6m.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20170720141927.18274-5-avarab@gmail.com>
Ævar Arnfjörð Bjarmason  <avarab@gmail.com> writes:
> For someone not familiar with PCRE or having read its own
> documentation this isn't obvious, let's explicitly mention it so
> package maintainers won't fear upgrading least they break things for
> their users.

If packagers trust our assessment on one external library's backward compatibility, our using and recommending it is sufficient to them. If the don't trust us but rather want to verify themselves, the new paragraph is not all that useful to them, and more importantly, we are not in the position or business of giving extended warranty to other people's library.

For these reasons, I'd feel a bit hesitant to add something like this.

Show 20 quoted lines
>
> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
> ---
>  Documentation/RelNotes/2.14.0.txt | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/RelNotes/2.14.0.txt b/Documentation/RelNotes/2.14.0.txt
> index 7ed93bca37..0e363f2af3 100644
> --- a/Documentation/RelNotes/2.14.0.txt
> +++ b/Documentation/RelNotes/2.14.0.txt
> @@ -28,6 +28,9 @@ Backward compatibility notes and other notable changes.
>     upstream PCRE maintainer has abandoned v1 maintenance for all but
>     the most critical bug fixes, use of v2 is recommended.
>  
> +   Version v2 of the library is fully backwards compatible with the
> +   Perl-compatible regular expression syntax exposed by git (sans a
> +   few obscure bugfixes).
>  
>  Updates since v2.13
>  -------------------
Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 10 of 12 in “2.14 RelNotes improvements”
  1. 0/6 2.14 RelNotes improvementsÆvar Arnfjörð Bjarmason, Jul 20, 2017
  2. 1/6 RelNotes: mention "log: add -P as a synonym for --perl-regexp"Ævar Arnfjörð Bjarmason, Jul 20, 2017
  3. 2/6 RelNotes: mention "log: make --regexp-ignore-case work with --perl-regexp"Ævar Arnfjörð Bjarmason, Jul 20, 2017
  4. 3/6 RelNotes: mention "sha1dc: optionally use sha1collisiondetection as a submodule"Ævar Arnfjörð Bjarmason, Jul 20, 2017
  5. 5/6 RelNotes: remove duplicate mention of PCRE v2Ævar Arnfjörð Bjarmason, Jul 20, 2017
  6. Junio C HamanoJul 20, 2017
  7. 6/6 RelNotes: add more notes about PCRE in 2.14Ævar Arnfjörð Bjarmason, Jul 20, 2017
  8. Junio C HamanoJul 20, 2017
  9. 4/6 RelNotes: mention that PCRE v2 exposes the same syntaxÆvar Arnfjörð Bjarmason, Jul 20, 2017
  10. Junio C HamanoJul 20, 2017
  11. Junio C HamanoJul 20, 2017
  12. Ævar Arnfjörð BjarmasonJul 21, 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.