From e6d29aec719eee1d26c555d622381984cb9bd592 Mon Sep 17 00:00:00 2001 From: Shiny Nematoda Date: Sun, 31 Mar 2024 08:02:55 +0000 Subject: [PATCH] user: update code search --- docs/user/code-search.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/code-search.md b/docs/user/code-search.md index db42db7d..b2cf457f 100644 --- a/docs/user/code-search.md +++ b/docs/user/code-search.md @@ -9,7 +9,7 @@ Forgejo supports code search through an indexer and `git-grep` as a fallback whe If `REPO_INDEXER_ENABLED` is set to `false`, the code search function will be limited to a single repository and will use [`git-grep`](https://git-scm.com/docs/git-grep). -Currently, only fixed strings are supported and any case differences are ignored. The search results will include the matched line, as well as a single line before and after the match. The search query will be executed on the default branch of the repository. +Currently, only fixed strings are supported and any case differences are ignored. The search results will include the matched line, along with a context of three lines before and after the match. The search query will be executed on the default branch of the repository. # Indexer