Skip to content

fix diff search for git version 2.33.0

Administrator requested to merge cc/fix-git-pickaxe into main

Created by: camdencheek

The latest version of git makes adding --pickaxe-regex and -G in the same command a hard error. We are currently adding --pickaxe-regex to every search that uses a regex pattern, even if we're using -G instead of -S. This commit changes the logic to only add --pickaxe-regex if we are using -S instead of -G.

Fixes #24801 (closed)

Merge request reports

Loading