diff --git a/man/repo-gitc-init.1 b/man/repo-gitc-init.1 index d6ef5ab6..88136de6 100644 --- a/man/repo-gitc-init.1 +++ b/man/repo-gitc-init.1 @@ -45,10 +45,6 @@ sync any submodules associated with the manifest repo \fB\-\-standalone\-manifest\fR download the manifest as a static file rather then create a git checkout of the manifest repo -.TP -\fB\-\-manifest\-depth\fR=\fI\,DEPTH\/\fR -create a shallow clone of the manifest repo with given -depth; see git clone (default: 1) .SS Manifest (only) checkout options: .TP \fB\-\-current\-branch\fR diff --git a/man/repo-init.1 b/man/repo-init.1 index 0d45bf78..32b3ea1b 100644 --- a/man/repo-init.1 +++ b/man/repo-init.1 @@ -45,10 +45,6 @@ sync any submodules associated with the manifest repo \fB\-\-standalone\-manifest\fR download the manifest as a static file rather then create a git checkout of the manifest repo -.TP -\fB\-\-manifest\-depth\fR=\fI\,DEPTH\/\fR -create a shallow clone of the manifest repo with given -depth; see git clone (default: 1) .SS Manifest (only) checkout options: .TP \fB\-c\fR, \fB\-\-current\-branch\fR diff --git a/repo b/repo index e6ef93de..7491e3a1 100755 --- a/repo +++ b/repo @@ -316,9 +316,6 @@ def InitParser(parser, gitc_init=False): help='download the manifest as a static file ' 'rather then create a git checkout of ' 'the manifest repo') - group.add_option('--manifest-depth', type='int', default=1, metavar='DEPTH', - help='create a shallow clone of the manifest repo with ' - 'given depth; see git clone (default: %default)') # Options that only affect manifest project, and not any of the projects # specified in the manifest itself. 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,