0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 14:54:57 +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.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
config_provider_test.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
cors.go
cron.go
cron_test.go
database.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
database_sqlite.go
database_test.go
federation.go
git.go Support changing git config through app.ini, use diff.algorithm=histogram by default (#24860) 2023-05-23 16:30:19 +00:00
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
highlight.go
i18n.go
incoming_email.go
indexer.go
indexer_test.go
lfs.go
log.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
log_test.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
mailer.go Make mailer SMTP check have timed context (#24751) 2023-05-16 22:55:51 +02:00
mailer_test.go
markup.go
metrics.go
migrations.go
mime_type_map.go
mirror.go
oauth2.go
other.go
packages.go Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
packages_test.go
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
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.go Support wildcard in email domain allow/block list (#24831) 2023-05-22 00:05:44 +00:00
service_test.go Support wildcard in email domain allow/block list (#24831) 2023-05-22 00:05:44 +00:00
session.go
setting.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
setting_test.go
ssh.go
storage.go
storage_test.go
task.go
time.go
ui.go
webhook.go