Reduce the context line number to 1, make "git grep" search respect the include/exclude patter, and fix #30785
Fix #30069
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   --------- Co-authored-by: silverwind <me@silverwind.io>