• wxiaoguang's avatar
    Use git.HOME_PATH for Git HOME directory (#20114) (#20293) · 5e5ff77e
    wxiaoguang authored
    Before, in #19732, the old home directory is not correct.
    This PR introduces a new config option for git home: git.HOME_PATH,
    which is default to %(APP_DATA_PATH)/home
    
    And pass env GNUPGHOME to git command, force Gitea to use a stable GNUPGHOME directory
    5e5ff77e
git_test.go 2.51 KB