@@ -2603,6 +2603,18 @@ OPTIONS
26032603 Enable the pprof debug endpoints on git-sync's HTTP endpoint at
26042604 /debug/pprof. Requires --http-bind to be specified.
26052605
2606+ --init-period <duration>, $GITSYNC_INIT_PERIOD
2607+ How long to wait between sync attempts until the first successful
2608+ sync. Once the initial sync succeeds, --period is used instead.
2609+ This must be at least 10ms if set. If not specified, --period is
2610+ used for all sync attempts.
2611+
2612+ --init-timeout <duration>, $GITSYNC_INIT_TIMEOUT
2613+ The maximum amount of time to keep retrying the initial sync
2614+ before failing. If not specified, git-sync retries forever (or
2615+ until --max-failures is reached). This must be at least 10ms if
2616+ set.
2617+
26062618 --link <string>, $GITSYNC_LINK
26072619 The path to at which to create a symlink which points to the
26082620 current git directory, at the currently synced hash. This may be
@@ -2636,18 +2648,6 @@ OPTIONS
26362648 dynamic credentials from an external secrets system).
26372649 See also $GITSYNC_PASSWORD.
26382650
2639- --init-period <duration>, $GITSYNC_INIT_PERIOD
2640- How long to wait between sync attempts until the first successful
2641- sync. Once the initial sync succeeds, --period is used instead.
2642- This must be at least 10ms if set. If not specified, --period is
2643- used for all sync attempts.
2644-
2645- --init-timeout <duration>, $GITSYNC_INIT_TIMEOUT
2646- The maximum amount of time to keep retrying the initial sync
2647- before failing. If not specified, git-sync retries forever (or
2648- until --max-failures is reached). This must be at least 10ms if
2649- set.
2650-
26512651 --period <duration>, $GITSYNC_PERIOD
26522652 How long to wait between sync attempts. This must be at least
26532653 10ms. This flag obsoletes --wait, but if --wait is specified, it
0 commit comments