forgejo/docs/content/doc/administration
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
..
_index.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
_index.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
_index.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
adding-legal-pages.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
backup-and-restore.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
backup-and-restore.zh-cn.md Remove unnecessary usage prefix from doc titles (#24869) 2023-05-23 18:14:57 +08:00
backup-and-restore.zh-tw.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
cmd-embedded.en-us.md Remove font-awesome and fomantic icon module (#24471) 2023-05-01 13:25:54 -04:00
command-line.en-us.md Update LDAP filters to include both username and email address (#24547) 2023-05-05 14:18:53 -04:00
config-cheat-sheet.en-us.md Support changing git config through app.ini, use diff.algorithm=histogram by default (#24860) 2023-05-23 16:30:19 +00:00
config-cheat-sheet.zh-cn.md Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2023-05-13 20:59:11 +02:00
customizing-gitea.en-us.md Support changing git config through app.ini, use diff.algorithm=histogram by default (#24860) 2023-05-23 16:30:19 +00:00
customizing-gitea.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
email-setup.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
environment-variables.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
environment-variables.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
external-renderers.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
fail2ban-setup.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
fail2ban-setup.zh-cn.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
git-lfs-support.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
https-support.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
https-support.zh-cn.md Remove unnecessary usage prefix from doc titles (#24869) 2023-05-23 18:14:57 +08:00
logging-config.en-us.md Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
mail-templates.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
repo-indexer.en-us.md Rewrite queue (#24505) 2023-05-08 19:49:59 +08:00
reverse-proxies.en-us.md Improve reverse-proxy document and fix nginx config bug (#24616) 2023-05-10 05:28:44 +00:00
reverse-proxies.zh-cn.md Remove unnecessary usage prefix from doc titles (#24869) 2023-05-23 18:14:57 +08:00
search-engines-indexation.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00
signing.en-us.md Refactor docs (#23752) 2023-04-28 11:33:41 +08:00