1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 17:54:27 +00:00
wxiaoguang e709cc76da
Make Gitea always use its internal config, ignore /etc/gitconfig (#33076)
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 #28848)

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
..
2023-12-19 09:29:05 +00:00
2023-07-04 18:36:08 +00:00
2024-05-03 09:13:48 +00:00
2025-01-03 00:32:02 +08:00
2024-04-03 02:16:46 +00:00
2023-06-18 16:10:44 +00:00
2024-12-04 23:09:07 +00:00
2023-10-10 18:47:49 +08:00
2024-12-24 13:47:45 +00:00
2023-02-20 16:18:26 -06:00