1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-05-01 05:05:02 +00:00
gitea/models
wxiaoguang e709cc76da
Make Gitea always use its internal config, ignore /etc/gitconfig ()
In history, Gitea could use the system config `/etc/gitconfig` because
some users said that "they might put certNonceSeed in it"

Actually, we shouldn't not use it, because it also causes conflicts
(there are already some fixes like )

To make the system clear, I think it's worth to introduce the breaking
change: add `GIT_CONFIG_NOSYSTEM=1` to all git commands.


## ⚠️ BREAKING ⚠️

 For most users, nothing need to do.

If you have made changes to `/etc/gitconfig` to affect Gitea's behavior,
you need to move these config options to Gitea's internal git config
file, it is usually in Gitea's `{AppDataPath}/home/.git` directory.
2025-01-02 20:26:48 +00:00
..
actions Refactor "string truncate" () 2024-12-26 11:56:03 +08:00
activities Refactor tests () 2024-12-29 01:05:56 +00:00
admin Fix javascript error when an anonymous user visiting migration page () 2024-10-02 04:37:16 +00:00
asymkey Move delete deploy keys into service layer () 2024-12-18 04:10:38 +00:00
auth Refactor tests () 2024-12-29 01:05:56 +00:00
avatars Replace 10 more gt- classes with tw- () 2024-03-22 13:45:10 +00:00
db Fix unittest and repo create bug () 2024-12-31 18:45:05 +08:00
dbfs Enable unparam linter () 2024-06-11 18:47:45 +00:00
fixtures Refactor fixture loading for testing () 2024-12-30 04:06:57 +00:00
git Enable tenv and testifylint rules () 2024-12-15 10:41:29 +00:00
issues Fix issue comment number () 2024-12-30 14:35:46 -08:00
migrations Refactor fixture loading for testing () 2024-12-30 04:06:57 +00:00
organization Refactor tests () 2024-12-29 01:05:56 +00:00
packages Refactor maven package registry () 2024-12-31 05:30:52 +00:00
perm Enable tenv and testifylint rules () 2024-12-15 10:41:29 +00:00
project Use project's redirect url instead of composing url () 2024-12-31 19:19:53 +08:00
pull
renderhelper Refactor render system (orgmode) () 2024-11-29 16:08:29 +08:00
repo Fix unittest and repo create bug () 2024-12-31 18:45:05 +08:00
secret Clarify Actions resources ownership () 2024-08-01 09:04:04 +00:00
shared/types
system
unit Add DEFAULT_MIRROR_REPO_UNITS and DEFAULT_TEMPLATE_REPO_UNITS options () 2024-11-11 00:11:00 +00:00
unittest Make Gitea always use its internal config, ignore /etc/gitconfig () 2025-01-02 20:26:48 +00:00
user Refactor pagination () 2024-12-30 01:57:38 +00:00
webhook Enable tenv and testifylint rules () 2024-12-15 10:41:29 +00:00
main_test.go
repo_test.go Fix issue comment number () 2024-12-30 14:35:46 -08:00
repo.go Fix issue comment number () 2024-12-30 14:35:46 -08:00