1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-25 17:14:32 +00:00

4 Commits

Author SHA1 Message Date
Giteabot
1f9a9fab5f
Improve grep search () ()
Backport  by wxiaoguang

Reduce the context line number to 1, make "git grep" search respect the
include/exclude patter, and fix 

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-05-03 17:59:33 +08:00
wxiaoguang
f9fdac9809
Limit the max line length when parsing git grep output () 2024-04-12 03:36:34 +00:00
wxiaoguang
8e79aed573
Fix git grep search limit, add test ()
Fix 
2024-03-25 21:25:22 +08:00
wxiaoguang
4734d43e14
Support repo code search without setting up an indexer ()
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 


![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>
2024-03-24 17:05:00 +01:00