diff options
author | Kaushik Lingarkar <kaushikl@qti.qualcomm.com> | 2024-12-17 13:49:19 -0800 |
---|---|---|
committer | Kaushik Lingarkar <kaushikl@qti.qualcomm.com> | 2025-02-04 08:07:49 -0800 |
commit | 66685f07ecf1b8bc228df66ea0d29fd7086e18e7 (patch) | |
tree | 8f8d3420fc102a1f91187164c4628395dd2ae223 /subcmds/overview.py | |
parent | cf9a2a2a76b332c89fef40e47f7ddb4e8c817ab9 (diff) | |
download | git-repo-66685f07ecf1b8bc228df66ea0d29fd7086e18e7.tar.gz |
Use 'gitfile' in submodule checkouts
This change takes another step towards ensuring Git can understand
repo's submodules to some extent. Replace the old '.git' symlink with
gitfile[1] pointing to the bare checkout of the submodule. This is
required for Git's 'recurse submodules' opts to work with repo's
submodules as '.git' is expected to be writable by Git when recursing
over submodules.
[1] https://git-scm.com/docs/gitrepository-layout#_description
Change-Id: I52d15451768ee7bd6db289f4d2b3be5907370d42
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/446181
Tested-by: Kaushik Lingarkar <kaushikl@qti.qualcomm.com>
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Nasser Grainawi <nasser.grainawi@oss.qualcomm.com>
Diffstat (limited to 'subcmds/overview.py')
0 files changed, 0 insertions, 0 deletions