diff options
author | LaMont Jones <lamontjones@google.com> | 2022-04-05 19:30:46 +0000 |
---|---|---|
committer | LaMont Jones <lamontjones@google.com> | 2022-04-06 16:59:45 +0000 |
commit | d82be3e672986cf1b490248a0ae4e6e42ec6fbd3 (patch) | |
tree | 9f33b52802bfa8705d6833851a06a42f2fa26d86 /subcmds/init.py | |
parent | 9b03f15e8e870866b26699f696af1884100f51b5 (diff) | |
download | git-repo-d82be3e672986cf1b490248a0ae4e6e42ec6fbd3.tar.gz |
Move manifest config logic into ManifestProject
Use ManifestProject properties for config values.
Change-Id: Ib4ad90b0d9a089916e35615b8058942e6d01dc04
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/334519
Tested-by: LaMont Jones <lamontjones@google.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'subcmds/init.py')
-rw-r--r-- | subcmds/init.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index b6c891ac..13085fae 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
@@ -345,7 +345,7 @@ to update the working directory files. | |||
345 | self._SyncManifest(opt) | 345 | self._SyncManifest(opt) |
346 | self._LinkManifest(opt.manifest_name) | 346 | self._LinkManifest(opt.manifest_name) |
347 | 347 | ||
348 | if self.manifest.manifestProject.config.GetBoolean('repo.superproject'): | 348 | if self.manifest.manifestProject.use_superproject: |
349 | self._CloneSuperproject(opt) | 349 | self._CloneSuperproject(opt) |
350 | 350 | ||
351 | if os.isatty(0) and os.isatty(1) and not self.manifest.IsMirror: | 351 | if os.isatty(0) and os.isatty(1) and not self.manifest.IsMirror: |