1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 09:44:43 +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
..
2024-02-24 18:46:49 +00:00
2024-11-20 19:26:12 +00:00
2024-11-20 19:26:12 +00:00
2024-11-20 19:26:12 +00:00
2024-11-02 11:20:22 +00:00
2024-11-20 19:26:12 +00:00
2024-11-20 19:26:12 +00:00
2024-11-20 19:26:12 +00:00
2024-05-03 09:13:48 +00:00
2024-09-10 02:23:07 +00:00
2023-07-12 19:07:29 +02:00
2024-10-29 18:27:03 +02:00
2024-11-20 19:26:12 +00:00

Git Module

This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.