mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-09-21 15:40:40 +08:00

unset XDG_CONFIG_HOME early to enable gitea to manage git configuration. simple error checking to satisfy the linting. Closes #33039 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>