aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/grep_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Improve grep search (#30843)wxiaoguang2024-05-031-0/+20
| | | | Reduce the context line number to 1, make "git grep" search respect the include/exclude patter, and fix #30785
* Limit the max line length when parsing git grep output (#30418)wxiaoguang2024-04-121-0/+10
|
* Fix git grep search limit, add test (#30071)wxiaoguang2024-03-251-0/+10
| | | Fix #30069
* Support repo code search without setting up an indexer (#29998)wxiaoguang2024-03-241-0/+41
By using git's ability, end users (especially small instance users) do not need to enable the indexer, they could also benefit from the code searching feature. Fix #29996 ![image](https://github.com/go-gitea/gitea/assets/2114189/11b7e458-88a4-480d-b4d7-72ee59406dd1) ![image](https://github.com/go-gitea/gitea/assets/2114189/0fe777d5-c95c-4288-a818-0427680805b6) --------- Co-authored-by: silverwind <me@silverwind.io>