Josef Malmström
|
1b4e7a04be
|
Fix submodules not synced for repeated repo
If I check out e.g. multiple branches of the same repo in one
manifest, only the submodules of one checkout are synced.
Fix this by adding the relative path of the checkout as a key
to the mapping of derived projects, preventing overwrite.
The fix was originally proposed here:
https://issues.gerritcodereview.com/issues/40013218
Bug: 40013218
Change-Id: Ia86518ccf2c0af7bd7e4daf8d703a55b7e10ba52
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/581062
Reviewed-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
Commit-Queue: Josef Malmstrom <Josef.Malmstrom@arm.com>
Tested-by: Josef Malmstrom <Josef.Malmstrom@arm.com>
|
2026-05-20 06:05:57 -07:00 |
|