1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/docs/content/doc/advanced
wxiaoguang 496b8e3990
Use git.HOME_PATH for Git HOME directory (#20114)
* Add git.HOME_PATH

* add legacy file check

* Apply suggestions from code review

Co-authored-by: zeripath <art27@cantab.net>

* pass env GNUPGHOME to git command, move the existing .gitconfig to new home, make the fix for 1.17rc more clear.

* set git.HOME_PATH for docker images to default HOME

* Revert "set git.HOME_PATH for docker images to default HOME"

This reverts commit f120101ddc.

* force Gitea to use a stable GNUPGHOME directory

* extra check to ensure only process dir or symlink for legacy files

* refactor variable name

* The legacy dir check (for 1.17-rc1) could be removed with 1.18 release, since users should have upgraded from 1.17-rc to 1.17-stable

* Update modules/git/git.go

Co-authored-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>

* remove initFixGitHome117rc

* Update git.go

* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-07-08 16:09:07 +08:00
..
adding-legal-pages.en-us.md
clone-filter.en-us.md
cmd-embedded.en-us.md
config-cheat-sheet.en-us.md Use git.HOME_PATH for Git HOME directory (#20114) 2022-07-08 16:09:07 +08:00
config-cheat-sheet.zh-cn.md Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
customizing-gitea.en-us.md Fix custom folder name in customization docs (#20148) 2022-06-27 11:16:51 -05:00
customizing-gitea.zh-cn.md
environment-variables.en-us.md Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
environment-variables.zh-cn.md Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
external-renderers.en-us.md Add example to render html files (#18736) 2022-02-14 21:56:17 +08:00
hacking-on-gitea.zh-cn.md
logging-documentation.en-us.md fix: some typos (#19956) 2022-06-13 15:34:46 +08:00
mail-templates-us.md
make.fr-fr.md
make.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00
protected-tags.en-us.md
repo-indexer.en-us.md
repo-mirror.en-us.md
search-engines-indexation.en-us.md
signing.en-us.md Use git.HOME_PATH for Git HOME directory (#20114) 2022-07-08 16:09:07 +08:00
third-party-tools.zh-cn.md Reformat docs (#13897) 2020-12-09 07:47:06 +01:00