aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/git/repo_commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/repo_commit.go b/modules/git/repo_commit.go
index a69229055f..9c9ee7768f 100644
--- a/modules/git/repo_commit.go
+++ b/modules/git/repo_commit.go
@@ -143,7 +143,7 @@ func (repo *Repository) searchCommits(id ObjectID, opts SearchCommitsOptions) ([
}
// interpret search string keywords as string instead of regex
- cmd.AddArguments("-F")
+ cmd.AddArguments("--fixed-strings")
// add remaining keywords from search string
// note this is done only for command created above