Skip to content

Update compat/regex

Ævar Arnfjörð Bjarmason git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 5 patches 4 repliesIn review

4 of 5 patches are in this archive. The cover letter announces 5.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/5compat/regex: get the gawk regex engine to compile within gitMakefile compat/regex/regex.h+7 -00 replies
3/5Change regerror() declaration from K&R style to ANSI C (C89)compat/regex/regcomp.c+2 -50 replies
4/5t/t7008-grep-binary.sh: un-TODO a test that needs REG_STARTENDt/t7008-grep-binary.sh+1 -10 replies
5/5autoconf: don't use platform regex if it lacks REG_STARTENDconfig.mak.in configure.ac+22 -00 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchJonathan NiederJohannes SixtÆvar Arnfjörð Bjarmason
2/5A-b
3/5A-b
4/5A-b
5/5T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] Update compat/regex

Here's a (hopefully) final version of this series. Changes since the v2 RFC:

* Re-apply Frank Li's regerror() patch already in Git as v1.6.5-rc2~23. There was no need to apply another msvc fix, v1.7.0-rc0~15, because it had already been fixed upstream.

* Include Jonathan Nieder's autoconf patch and add his Acked-by to the rest, add my Tested-by to his.

* Fix text alignment in one of the commit messages.

Note: This patch is intentionally diff --check unclean so we don't diverge from upstream. This series can also be pulled from
http://github.com/avar/git/tree/update-fallback-regex-engine-v3 if the whitespace causes issues with git-am.

Frank Li (1):
Change regerror() declaration from K&R style to ANSI C (C89)

Jonathan Nieder (1):
autoconf: don't use platform regex if it lacks REG_STARTEND

Ævar Arnfjörð Bjarmason (3):
compat/regex: use the regex engine from gawk for compat compat/regex: get the gawk regex engine to compile within git t/t7008-grep-binary.sh: un-TODO a test that needs REG_STARTEND

 Makefile                      |    4 +
 compat/regex/regcomp.c        | 3889 ++++++++++++++++++++++++++++++++
 compat/regex/regex.c          | 5003 +----------------------------------------
 compat/regex/regex.h          |  462 +++--
 compat/regex/regex_internal.c | 1744 ++++++++++++++
 compat/regex/regex_internal.h |  810 +++++++
 compat/regex/regexec.c        | 4377 +++++++++++++++++++++++++++++++++++
 config.mak.in                 |    1 +
 configure.ac                  |   21 +
 t/t7008-grep-binary.sh        |    2 +-
 10 files changed, 11207 insertions(+), 5106 deletions(-)
 create mode 100644 compat/regex/regcomp.c
 create mode 100644 compat/regex/regex_internal.c
 create mode 100644 compat/regex/regex_internal.h
 create mode 100644 compat/regex/regexec.c
Signature · 1 line
1.7.2.1.389.gc3d0b