0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 19:18:52 +01:00
gitea/modules/setting
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.go Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
admin.go
api.go
asset_dynamic.go
asset_static.go
attachment.go
cache.go
camo.go
config_provider_test.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
config_provider.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
cors.go
cron_test.go Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
cron.go
database_sqlite.go
database_test.go
database.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
federation.go
git_test.go Support changing git config through app.ini, use diff.algorithm=histogram by default (#24860) 2023-05-23 16:30:19 +00:00
git.go Support changing git config through app.ini, use diff.algorithm=histogram by default (#24860) 2023-05-23 16:30:19 +00:00
highlight.go
i18n.go
incoming_email.go
indexer_test.go
indexer.go Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
lfs.go Increase default LFS auth timeout from 20m to 24h (#24628) 2023-05-10 22:23:47 +08:00
log_test.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
log.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
mailer_test.go Remove unnecessary code (#24610) 2023-05-10 04:57:06 +00:00
mailer.go Make mailer SMTP check have timed context (#24751) 2023-05-16 22:55:51 +02:00
markup.go Add .livemd as a markdown extension (#22730) 2023-04-26 11:22:54 -04:00
metrics.go
migrations.go
mime_type_map.go
mirror.go
oauth2.go
other.go
packages_test.go Remove unnecessary code (#24610) 2023-05-10 04:57:06 +00:00
packages.go Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
picture.go Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2023-05-13 20:59:11 +02:00
project.go
proxy.go
queue.go Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
repository.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
security.go
server.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
service_test.go Support wildcard in email domain allow/block list (#24831) 2023-05-22 00:05:44 +00:00
service.go Support wildcard in email domain allow/block list (#24831) 2023-05-22 00:05:44 +00:00
session.go
setting_test.go
setting.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
ssh.go
storage_test.go Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
storage.go
task.go
time.go Remove unused setting time.FORMAT (#24430) 2023-04-29 22:51:43 +02:00
ui.go
webhook.go