diff options
author | Roman <romankl@users.noreply.github.com> | 2018-12-04 23:40:42 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-12-05 00:40:42 +0200 |
commit | a0ecc5f24ef4cde762a8e0a3af30d98f02cd3eb0 (patch) | |
tree | 86b3eaf69cba6057756ae014ff21bb12237f2582 | |
parent | 20c54f88b23bbf56ac3cc3a74baeed98d7ab0844 (diff) | |
download | gitea-a0ecc5f24ef4cde762a8e0a3af30d98f02cd3eb0.tar.gz gitea-a0ecc5f24ef4cde762a8e0a3af30d98f02cd3eb0.zip |
improve the git-scm url's in docs and sample.ini (#5467)
* remove old git-version from git-scm url in app.ini
The url includes the version of git, which is not required to view the
page. If you open the page without the version you get the current
version and it's possible to switch the used version.
Signed-off-by: Roman <romaaan.git@gmail.com>
* docs: mention the git-scm url for git configs
Signed-off-by: Roman <romaaan.git@gmail.com>
-rw-r--r-- | custom/conf/app.ini.sample | 4 | ||||
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample index 32cf3e19ab..bcf633b630 100644 --- a/custom/conf/app.ini.sample +++ b/custom/conf/app.ini.sample @@ -547,7 +547,7 @@ SCHEDULE = @every 10m SCHEDULE = @every 24h TIMEOUT = 60s ; Arguments for command 'git fsck', e.g. "--unreachable --tags" -; see more on http://git-scm.com/docs/git-fsck/1.7.5 +; see more on http://git-scm.com/docs/git-fsck ARGS = ; Check repository statistics @@ -586,7 +586,7 @@ MAX_GIT_DIFF_LINE_CHARACTERS = 5000 ; Max number of files shown in diff view MAX_GIT_DIFF_FILES = 100 ; Arguments for command 'git gc', e.g. "--aggressive --auto" -; see more on http://git-scm.com/docs/git-gc/1.7.5 +; see more on http://git-scm.com/docs/git-gc/ GC_ARGS = ; Operation timeout in seconds diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index 7ea14d2306..4c1b219fca 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -284,7 +284,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`. - `SCHEDULE`: **every 24h**: Cron syntax for scheduling repository health check. - `TIMEOUT`: **60s**: Time duration syntax for health check execution timeout. -- `ARGS`: **\<empty\>**: Arguments for command `git fsck`, e.g. `--unreachable --tags`. +- `ARGS`: **\<empty\>**: Arguments for command `git fsck`, e.g. `--unreachable --tags`. See more on http://git-scm.com/docs/git-fsck ### Cron - Repository Statistics Check (`cron.check_repo_stats`) @@ -296,7 +296,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`. - `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. -- `GC_ARGS`: **\<empty\>**: Arguments for command `git gc`, e.g. `--aggressive --auto`. +- `GC_ARGS`: **\<empty\>**: Arguments for command `git gc`, e.g. `--aggressive --auto`. See more on http://git-scm.com/docs/git-gc/ ## Git - Timeout settings (`git.timeout`) - `MIGRATE`: **600**: Migrate external repositories timeout seconds. |