search: re-implement commit and diff search with libgit2
Created by: camdencheek
This PR implements a MVP-version of commit and diff search using libgit2 rather than git CLI.
Closes #24595 (closed)
Everything in this PR is protected behind the cc_libgit2
feature flag, so merging this should make no changes to actively-running code on main
. In the spirit of incremental changes, this implementation is not feature complete, and the missing parts are detailed below. However, I wanted to get this to a state that it could be reasonably run end-to-end for experimenting with new features and performance enhancements.
Overview of this PR: