Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(501)

Side by Side Diff: man/src/git-retry.txt

Issue 401673003: Added 'git-retry' bootstrap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Updated w/ real mission. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« git_retry.py ('K') | « man/src/_git-retry_desc.helper.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 git-retry(1)
2 =============
3
4 NAME
5 ----
6 git-retry -
7 include::_git-retry_desc.helper.txt[]
8
9 SYNOPSIS
10 --------
11 [verse]
12 'git retry' [-v] [-c COUNT] [-d DELAY] [-e] -- _<git_subcommand>_
13
14 DESCRIPTION
15 -----------
16
17 `git retry` is a bootstrap that wraps a standard `git` command execution in
18 a fault-tolerant retry wrapper.
19
20 If a retry succeeds, the return code of the successful attempt is returned.
21 Otherwise, the return code of the last failed attempt is returned.
22
23 The wrapper is aware of `git`-specific failure conditions and will only consider
24 retrying if a given failure can be linked to such a condition.
25
26
27 OPTIONS
28 -------
29
30 <git_subcommand>::
31 The `git` command to retry. This should omit the actual `git` command (e.g.,
32 to retry `git clone`, use `git retry clone`).
33
34 -v, --verbose::
35 Increases logging verbosity. By default, no additional logging is generated
36 by the `git retry` command. This can be specified multiple times.
37
38 -c, --retry-count _count_::
39 Specify the number of retries that should be performed before giving up.
40
41 -d, --delay _seconds_::
42 If specified, the time delta to wait in between retry attempts. By default,
43 retries will happen immediately after failures. This can be used to introduce
44 a delay.
45
46 -e, --delay-exponential::
47 If specified, the retry delay will double with each retry. Note that if no
48 delay is specified, this will have no effect.
49
50
51 EXIT STATUS
52 -----------
53
54 Upon success, `git retry` will exit with the successful exit code of *0*. On
55 failure, it will exit with the exit code of the last failed attempt.
56
57
58 include::_footer.txt[]
59
60 // vim: ft=asciidoc:
OLDNEW
« git_retry.py ('K') | « man/src/_git-retry_desc.helper.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698