forgejo/modules
Giteabot 464c6e8d73
Add -F to commit search to treat keywords as strings (#28744) (#28748)
Backport #28744 by @me-heer

Fixes #28269

The [default
behavior](https://git-scm.com/docs/git-log#Documentation/git-log.txt---basic-regexp)
of --grep in git log is to interpret the keyword as a regular
expression. This causes the search to fail in the cases where the search
keyword contains a `[`, since `[` is a special character used in grep.

If we want our keywords to be interpreted as 'strings', we should use
[-F
flag](https://git-scm.com/docs/git-log#Documentation/git-log.txt---basic-regexp).

Co-authored-by: Mihir Joshi <mihir67mj@gmail.com>
(cherry picked from commit f220f4231a)
2024-01-16 14:39:23 +00:00
..
actions [ACTIONS] on.schedule: the event is always "schedule" 2023-12-23 15:58:37 +01:00
activitypub
analyze
assetfs
auth
avatar
base
cache
charset Add option to disable ambiguous unicode characters detection (#28454) (#28499) 2023-12-22 12:07:01 +01:00
container
context [GITEA] rework long-term authentication 2024-01-16 14:14:46 +00:00
contexttest
csv
doctor Initalize stroage for orphaned repository doctor (#28487) (#28490) 2023-12-22 12:05:11 +01:00
emoji
eventsource
generate
git Add -F to commit search to treat keywords as strings (#28744) (#28748) 2024-01-16 14:39:23 +00:00
gitgraph
graceful
hcaptcha
highlight Add option to disable ambiguous unicode characters detection (#28454) (#28499) 2023-12-22 12:07:01 +01:00
hostmatcher
html
httpcache
httplib
indexer Add option to disable ambiguous unicode characters detection (#28454) (#28499) 2023-12-22 12:07:01 +01:00
issue/template
json
label
lfs
log
markup Fix the issue ref rendering for wiki (#28556) (#28559) 2023-12-22 12:10:03 +01:00
mcaptcha
metrics
migration
nosql
options
packages
paginator
pprof
private
process
proxy
proxyprotocol
public Refactor CORS handler (#28587) (#28611) 2024-01-16 14:08:38 +00:00
queue
recaptcha
references
regexplru
repository Ignore "non-existing" errors when getDirectorySize calculates the size (#28276) (#28285) 2023-12-08 13:41:16 +01:00
secret
session
setting Fix panic when parsing empty pgsql host (#28708) (#28709) 2024-01-16 14:16:56 +00:00
sitemap
ssh
storage
structs [ACTIONS] on.schedule: create a new payload 2023-12-23 15:58:37 +01:00
svg
sync
system
templates
test
testlogger
timeutil Make template DateTime show proper tooltip (#28677) (#28683) 2024-01-16 14:16:55 +00:00
translation
turnstile
typesniffer
updatechecker
upload
uri
user
util [GITEA] rework long-term authentication 2024-01-16 14:14:46 +00:00
validation
web [GITEA] Use maintained gziphandler 2024-01-16 14:09:55 +00:00
webhook [ACTIONS] on.schedule: the event is always "schedule" 2023-12-23 15:58:37 +01:00