summaryrefslogtreecommitdiffstats
path: root/subcmds
diff options
context:
space:
mode:
authorGavin Mak <gavinmak@google.com>2026-04-03 01:11:35 +0000
committergerrit-scoped@luci-project-accounts.iam.gserviceaccount.com <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2026-05-26 10:26:25 -0700
commitb8531133deb053b333a3e90ce3b91a6f448b034e (patch)
treee4ac7ddaaedc1e037018626568b5cad91070ae31 /subcmds
parent2d54384a5e59fddd0626ec091cc0ad11511d834e (diff)
downloadgit-repo-b8531133deb053b333a3e90ce3b91a6f448b034e.tar.gz
init: Add --use-local-gitdirs for standard Git layouts
Introduce --use-local-gitdirs to bypass repo's symlink-based layouts in favor of standard local .git directories. Bug: 513329573 Bug: 508146070 Change-Id: I53d1602e61be0b86964529bcbea3dc801471f9c9 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/569001 Tested-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Gavin Mak <gavinmak@google.com> Reviewed-by: Dan Willemsen <dwillemsen@google.com>
Diffstat (limited to 'subcmds')
-rw-r--r--subcmds/init.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/subcmds/init.py b/subcmds/init.py
index f5a3892a5..b60ef28bc 100644
--- a/subcmds/init.py
+++ b/subcmds/init.py
@@ -169,6 +169,7 @@ to update the working directory files.
169 depth=opt.depth, 169 depth=opt.depth,
170 git_event_log=self.git_event_log, 170 git_event_log=self.git_event_log,
171 manifest_name=opt.manifest_name, 171 manifest_name=opt.manifest_name,
172 use_local_gitdirs=opt.use_local_gitdirs,
172 ): 173 ):
173 manifest_name = opt.manifest_name 174 manifest_name = opt.manifest_name
174 raise UpdateManifestError( 175 raise UpdateManifestError(