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

This commit is contained in:
Mura Li authored and techknowlogick committed 2019-07-07 03:26:56 -04:00
1 parent 8d9d6aa903
commit f88aa1d215
4 files changed
+18 -4

No files matched your search

@@ -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.