From 6c8b894d8d06c8b1bf852b52676ee055a21718d6 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Thu, 27 Oct 2022 21:42:43 +0000 Subject: 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 Tested-by: LaMont Jones Reviewed-by: Xin Li --- subcmds/init.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'subcmds/init.py') diff --git a/subcmds/init.py b/subcmds/init.py index 0c979cd4..cae0e342 100644 --- a/subcmds/init.py +++ b/subcmds/init.py @@ -109,10 +109,6 @@ to update the working directory files. Args: opt: options from optparse. """ - # Normally this value is set when instantiating the project, but the - # manifest project is special and is created when instantiating the - # manifest which happens before we parse options. - self.manifest.manifestProject.clone_depth = opt.manifest_depth if not self.manifest.manifestProject.Sync( manifest_url=opt.manifest_url, manifest_branch=opt.manifest_branch, -- cgit v1.2.3-54-g00ecf