diff options
author | Kaushik Lingarkar <kaushikl@qti.qualcomm.com> | 2024-12-17 12:49:14 -0800 |
---|---|---|
committer | Kaushik Lingarkar <kaushikl@qti.qualcomm.com> | 2025-02-04 08:07:49 -0800 |
commit | cf9a2a2a76b332c89fef40e47f7ddb4e8c817ab9 (patch) | |
tree | cfecbcec1354e04b5846706eb9b148ddc22c45dd /docs | |
parent | 5ae8292fea94bc26aa8c7345f5230899d3d45a63 (diff) | |
download | git-repo-cf9a2a2a76b332c89fef40e47f7ddb4e8c817ab9.tar.gz |
Update internal filesystem layout for submodules
Change the bare checkout directory for submodules from 'subprojects'
to 'modules'. Git expects bare submodule checkouts to be in the
'modules' directory. If old subproject directories are found, they
will be migrated to the new modules directory. This change is the
first step in ensuring Git can understand repo's submodules to some
extent.
Change-Id: I385029f1bb55d040616d970d6ffb4bb856692520
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/444881
Tested-by: Kaushik Lingarkar <kaushikl@qti.qualcomm.com>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/internal-fs-layout.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/internal-fs-layout.md b/docs/internal-fs-layout.md index f63978f3..c0e44778 100644 --- a/docs/internal-fs-layout.md +++ b/docs/internal-fs-layout.md | |||
@@ -141,7 +141,7 @@ Instead, you should use standard Git workflows like [git worktree] or | |||
141 | (e.g. a local mirror & a public review server) while avoiding duplicating | 141 | (e.g. a local mirror & a public review server) while avoiding duplicating |
142 | the content. However, this can run into problems if different remotes use | 142 | the content. However, this can run into problems if different remotes use |
143 | the same path on their respective servers. Best to avoid that. | 143 | the same path on their respective servers. Best to avoid that. |
144 | * `subprojects/`: Like `projects/`, but for git submodules. | 144 | * `modules/`: Like `projects/`, but for git submodules. |
145 | * `subproject-objects/`: Like `project-objects/`, but for git submodules. | 145 | * `subproject-objects/`: Like `project-objects/`, but for git submodules. |
146 | * `worktrees/`: Bare checkouts of every project synced by the manifest. The | 146 | * `worktrees/`: Bare checkouts of every project synced by the manifest. The |
147 | filesystem layout matches the `<project name=...` setting in the manifest | 147 | filesystem layout matches the `<project name=...` setting in the manifest |