structerr.Error RepositoryService::SearchFilesByContent
GitLab issue: gitlab#491554
The SearchFilesByContent
RPC is used to search for files given some content. It is a wrapper around git-grep(1)
with some flags set.
We use scanner := bufio.NewScanner(cmd)
to scan the output of git-grep(1)
. Seems like for files with large lines, this fails.