summaryrefslogtreecommitdiffstats
path: root/repo
diff options
context:
space:
mode:
authorLaMont Jones <lamontjones@google.com>2022-10-27 21:42:43 +0000
committerLaMont Jones <lamontjones@google.com>2022-10-27 21:52:02 +0000
commit6c8b894d8d06c8b1bf852b52676ee055a21718d6 (patch)
tree67ad0639c31fff1a54c8cd7c2d74013f7199436c /repo
parentb6cfa095006b30a430e1ad3e772c5a5b53cdf875 (diff)
downloadgit-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-xrepo3
1 files changed, 0 insertions, 3 deletions
diff --git a/repo b/repo
index e6ef93de..7491e3a1 100755
--- a/repo
+++ b/repo
@@ -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.