Support git.PATH entry in app.ini (#6772)

This commit is contained in:
Mura Li 2019-07-07 15:26:56 +08:00 committed by techknowlogick
parent 8d9d6aa903
commit f88aa1d215
4 changed files with 18 additions and 4 deletions

View file

@ -409,6 +409,7 @@ NB: You must `REDIRECT_MACARON_LOG` and have `DISABLE_ROUTER_LOG` set to `false`
## Git (`git`)
- `PATH`: **""**: The path of git executable. If empty, Gitea searches through the PATH environment.
- `MAX_GIT_DIFF_LINES`: **100**: Max number of lines allowed of a single file in diff view.
- `MAX_GIT_DIFF_LINE_CHARACTERS`: **5000**: Max character count per line highlighted in diff view.
- `MAX_GIT_DIFF_FILES`: **100**: Max number of files shown in diff view.