fix(patch): prevent git config path errors in patch-commit (#10640)
* fix(patch): prevent git config path errors in patch-commit Replace HOME='' with GIT_CONFIG_GLOBAL to bypass user config without breaking home directory resolution in restricted environments. Fixes #6537 * fix(patch): prevent git config path errors in patch-commit Use GIT_CONFIG_NOSYSTEM and GIT_CONFIG_GLOBAL to bypass git config without breaking HOME path resolution in restricted environments. Fixes #6537
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f