From a0ecc5f24ef4cde762a8e0a3af30d98f02cd3eb0 Mon Sep 17 00:00:00 2001 From: Roman Date: Tue, 4 Dec 2018 23:40:42 +0100 Subject: [PATCH] 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 * docs: mention the git-scm url for git configs Signed-off-by: Roman --- custom/conf/app.ini.sample | 4 ++-- 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`: **\**: Arguments for command `git fsck`, e.g. `--unreachable --tags`. +- `ARGS`: **\**: 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`: **\**: Arguments for command `git gc`, e.g. `--aggressive --auto`. +- `GC_ARGS`: **\**: 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.