diff options
author | LaMont Jones <lamontjones@google.com> | 2022-10-27 21:42:43 +0000 |
---|---|---|
committer | LaMont Jones <lamontjones@google.com> | 2022-10-27 21:52:02 +0000 |
commit | 6c8b894d8d06c8b1bf852b52676ee055a21718d6 (patch) | |
tree | 67ad0639c31fff1a54c8cd7c2d74013f7199436c /repo | |
parent | b6cfa095006b30a430e1ad3e772c5a5b53cdf875 (diff) | |
download | git-repo-6c8b894d8d06c8b1bf852b52676ee055a21718d6.tar.gz |
Revert "init: change --depth default to 1 for manifest repo"
This reverts commit 076d54652e0025e1360f66e483926477b910b02e.
Reason for revert: crbug.com/gerrit/16358
Change-Id: I2970eb50677cca69786f71edffe4aa5271cf139f
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/349834
Reviewed-by: Sam Saccone <samccone@google.com>
Tested-by: LaMont Jones <lamontjones@google.com>
Reviewed-by: Xin Li <delphij@google.com>
Diffstat (limited to 'repo')
-rwxr-xr-x | repo | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -316,9 +316,6 @@ def InitParser(parser, gitc_init=False): | |||
316 | help='download the manifest as a static file ' | 316 | help='download the manifest as a static file ' |
317 | 'rather then create a git checkout of ' | 317 | 'rather then create a git checkout of ' |
318 | 'the manifest repo') | 318 | 'the manifest repo') |
319 | group.add_option('--manifest-depth', type='int', default=1, metavar='DEPTH', | ||
320 | help='create a shallow clone of the manifest repo with ' | ||
321 | 'given depth; see git clone (default: %default)') | ||
322 | 319 | ||
323 | # Options that only affect manifest project, and not any of the projects | 320 | # Options that only affect manifest project, and not any of the projects |
324 | # specified in the manifest itself. | 321 | # specified in the manifest itself. |