summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorChongyi Zheng <harryzheng25@gmail.com>2022-07-08 15:45:12 -0400
committerGitHub <noreply@github.com>2022-07-08 20:45:12 +0100
commit49f9d43afefd446287b1b2475d7127d405b7a873 (patch)
tree70f659343c5ed2ce174cb2a5aacb6a66a5084c23 /options
parent496b8e39900842c8253250d3eaddf587be35dfa3 (diff)
downloadgitea-49f9d43afefd446287b1b2475d7127d405b7a873.tar.gz
gitea-49f9d43afefd446287b1b2475d7127d405b7a873.zip
Implement sync push mirror on commit (#19411)
Support synchronizing with the push mirrors whenever new commits are pushed or synced from pull mirror. Related Issues: #18220 Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'options')
-rw-r--r--options/locale/locale_en-US.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini
index eb7ae47743..464a7d396c 100644
--- a/options/locale/locale_en-US.ini
+++ b/options/locale/locale_en-US.ini
@@ -861,8 +861,9 @@ default_branch = Default Branch
default_branch_helper = The default branch is the base branch for pull requests and code commits.
mirror_prune = Prune
mirror_prune_desc = Remove obsolete remote-tracking references
-mirror_interval = Mirror Interval (valid time units are 'h', 'm', 's'). 0 to disable automatic sync. (Minimum interval: %s)
+mirror_interval = Mirror Interval (valid time units are 'h', 'm', 's'). 0 to disable periodic sync. (Minimum interval: %s)
mirror_interval_invalid = The mirror interval is not valid.
+mirror_sync_on_commit = Sync when commits are pushed
mirror_address = Clone From URL
mirror_address_desc = Put any required credentials in the Authorization section.
mirror_address_url_invalid = The provided url is invalid. You must escape all components of the url correctly.