forgejo/modules
wxiaoguang 8080ace6fc
Support changing git config through app.ini, use diff.algorithm=histogram by default (#24860)
Close #13454 , Close #23255, Close #14697 (and maybe more related
issues)

Many users have the requirement to customize the git config. This PR
introduces an easy way: put the options in Gitea's app.ini
`[git.config]`, then the config options will be applied to git config.

And it can support more flexible default config values, eg: now
`diff.algorithm=histogram` by default. According to:
https://stackoverflow.com/a/32367597/4754037 , `histogram diff` is
efficient and doesn't like to cause server-side problems.

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-05-23 16:30:19 +00:00
..
actions show workflow config error on file view also (#24267) 2023-04-22 22:16:54 -04:00
activitypub
analyze
assetfs Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
auth Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
avatar Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2023-05-13 20:59:11 +02:00
base Use a general Eval function for expressions in templates. (#23927) 2023-04-07 21:25:49 +08:00
cache Update redis library to support redis v7 (#24114) 2023-04-13 18:41:04 -04:00
charset Update go tool dependencies, restructure lint targets (#24239) 2023-04-22 14:53:00 -04:00
container
context Fix install page context, make the install page tests really test (#24858) 2023-05-23 09:29:15 +08:00
csv Refactor locale number (#24134) 2023-04-17 11:37:23 +08:00
doctor Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
emoji
eventsource
generate
git Support changing git config through app.ini, use diff.algorithm=histogram by default (#24860) 2023-05-23 16:30:19 +00:00
gitgraph
graceful Fix regression: access log template, gitea manager cli command (#24838) 2023-05-22 09:38:38 +08:00
hcaptcha
highlight test_env: hardcode major go version in use (#23464) 2023-03-14 16:09:01 -04:00
hostmatcher
html
httpcache Use standard HTTP library to serve files (#24693) 2023-05-13 16:04:57 +02:00
httplib Use standard HTTP library to serve files (#24693) 2023-05-13 16:04:57 +02:00
indexer Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
issue/template
json
label Make label templates have consistent behavior and priority (#23749) 2023-04-10 16:44:02 +08:00
lfs Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
log Fix flakey test in logger test (#24883) 2023-05-23 16:01:20 +00:00
markup Fix video width overflow in markdown, and other changes to match img (#24834) 2023-05-21 21:19:37 +00:00
mcaptcha
metrics
migration Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
mirror Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
nosql Update redis library to support redis v7 (#24114) 2023-04-13 18:41:04 -04:00
notification Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
options Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
packages Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
paginator Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
pprof
private Add gitea manager reload-templates command (#24843) 2023-05-22 23:51:40 +08:00
process
proxy
proxyprotocol
public Use standard HTTP library to serve files (#24693) 2023-05-13 16:04:57 +02:00
queue Do not call nil handler for a dummy queue (#24880) 2023-05-23 13:40:55 +02:00
recaptcha
references
regexplru
repository Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2023-05-13 20:59:11 +02:00
secret Improve decryption failure message (#24573) 2023-05-07 19:29:43 +08:00
session Update redis library to support redis v7 (#24114) 2023-04-13 18:41:04 -04:00
setting Support changing git config through app.ini, use diff.algorithm=histogram by default (#24860) 2023-05-23 16:30:19 +00:00
sitemap
ssh Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
storage Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
structs Add API for Label templates (#24602) 2023-05-23 18:10:23 +08:00
svg Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
sync
system
templates Add gitea manager reload-templates command (#24843) 2023-05-22 23:51:40 +08:00
test Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
testlogger Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
timeutil Fix incorrect webhook time and use relative-time to display it (#24477) 2023-05-03 19:53:43 -04:00
translation Decouple the different contexts from each other (#24786) 2023-05-21 09:50:53 +08:00
turnstile
typesniffer Do not recognize text files as audio (#23355) 2023-03-07 22:40:41 -05:00
updatechecker
upload
uri
user
util Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
validation
web Fix install page context, make the install page tests really test (#24858) 2023-05-23 09:29:15 +08:00
webhook