mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-16 22:20:53 +02:00
Integration Test for Commit Search containing Square Brackets (#28751)
Integration test for #28744 Change keywords commit search flag from `-F` to `--fixed-strings` for readability
This commit is contained in:
1 parent
c65f8623e6
commit
669bbbaf24
2 files changed
+2
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user