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

Re: Suspected git grep regression in git 2.40.0

From
Bagas Sanjaya <bagasdotme@gmail.com>
Date
Mar 21, 2023, 12:33 UTC
Message-ID
<d228d2c7-ebd1-74b4-4b6c-f5ac037782d9@gmail.com>
In-Reply-To
<7E83DAA1-F9A9-4151-8D07-D80EA6D59EEA@clumio.com>
On 3/21/23 15:04, Stephane Odul wrote:
Show 8 quoted lines
> We have a CI pipeline on a private repository that started failing consistently while running `git grep -P` commands. The command fails with an exit code of -11 and is failing pretty consistently. With prior versions of git there is no issue whatsoever, but with 2.40.0 it always fails on the same call. Other git grep calls are fine, but that one is failing consistently.
> 
> I was not able to reproduce locally but my main machine is an M1 MacBook Pro, the CI pipeline runs under Kubernetes in AWS and the container is based on Ubuntu 20.04 with the git client installed via the PPA.
> 
> The error is for this pattern `git grep -cP '^\w+ = json.load'`.
> 
> As a  workaround we tried to download and install the microsoft-git v2.39.2 deb package since it allows us to downgrade, but then the git grep commands just got stuck.
> 
Can you do the bisection between v2.39.0..v2.40.0?
-- 
An old man doll... just what I always wanted! - Clara
Previous: Stephane OdulNext: Junio C Hamano
Message 2 of 11 in “Suspected git grep regression in git 2.40.0”
  1. Stephane OdulMar 21, 2023
  2. Bagas SanjayaMar 21, 2023
  3. Junio C HamanoMar 21, 2023
  4. Mathias KrauseMar 21, 2023
  5. Stephane OdulMar 21, 2023
  6. Mathias KrauseMar 22, 2023
  7. Stephane OdulMar 22, 2023
  8. Mathias KrauseMar 23, 2023
  9. Junio C HamanoMar 23, 2023
  10. Mathias KrauseMar 23, 2023
  11. grep: work around UTF-8 related JIT bug in PCRE2 <= 10.34Mathias Krause, Mar 23, 2023

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.