]> git.ipfire.org Git - thirdparty/public-inbox.git/commit
search: avoid `git rev-parse' if using C++ xap_helper
authorEric Wong <e@80x24.org>
Wed, 5 Mar 2025 07:18:34 +0000 (07:18 +0000)
committerEric Wong <e@80x24.org>
Fri, 7 Mar 2025 19:23:13 +0000 (19:23 +0000)
commit4b037f2503286fd1920ca297c603fd4bbac1613e
tree9deac119377f65f54cfeded31ce6be1f6aca7079
parent4821427f8a30fde7cd91365f33da64486274bb5f
search: avoid `git rev-parse' if using C++ xap_helper

The C++ xap_helper can work with the Xapian query parser API to
run run git_date_parse(), so there's no need to do janky string
substitutions as we do for the Perl bindings.
lib/PublicInbox/Search.pm