GrepServlet: add JSON content search endpoint Add a +grep endpoint that searches blob contents at one revision using JGit TreeWalk and ObjectReader. This starts the git grep part of the Gitiles search issue without adding an index or UI. The endpoint is JSON-only for now and keeps the search bounded by skipping binary or large blobs and stopping after a fixed number of matches. Issue: 376381593 Change-Id: I351e81bb378d2a759c6b5c6d686199c598c6e886
Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls, no write access, no fancy Javascript, etc.
Gitiles automatically renders *.md Markdown files into HTML for simplified documentation. Refer to the Markdown documentation for details.
Gitiles is configurable in a git-style configuration file named gitiles.config. Refer to the configuration documentation for details.
Use gerrit's issue tracker to file bugs.
Please refer to the Developer Guide.