mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-05 17:45:46 +00:00
7554a13593b3482067959655d193c1d0bf6af872
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 <[email protected]> Co-authored-by: KN4CK3R <[email protected]> Co-authored-by: Giteabot <[email protected]>
Languages
TypeScript
42%
MDX
31.2%
Astro
7.9%
JavaScript
6.4%
Shell
6.3%
Other
6.2%