summaryrefslogtreecommitdiffstats
path: root/subcmds/overview.py
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2021-04-29 01:50:38 -0700
committerJonathan Nieder <jrn@google.com>2021-04-29 19:05:47 +0000
commitaabf79d3f0736af3bbe9f2e830df6165e06b6ef6 (patch)
tree8e9a6c44897c02349e69f7c2929eb52acabc1677 /subcmds/overview.py
parenta1cd770d566400364c43acd40b980a7138820797 (diff)
downloadgit-repo-aabf79d3f0736af3bbe9f2e830df6165e06b6ef6.tar.gz
sync: Fix a corner case when both superproject and depth used.
When depth is used, we would fetch only SHA1 when superproject is used, as the result, only the manifest branch is being recorded, and commands like repo start would fail. Fix this by saving the upstream branch value in the overlay manifest and add the upstream branch to fetch list. Bug: [google internal] b/185951360 Change-Id: Ib36f56067723f2572ed817785b31cc928ddfec0a Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/304562 Reviewed-by: Raman Tenneti <rtenneti@google.com> Reviewed-by: Jonathan Nieder <jrn@google.com> Tested-by: Xin Li <delphij@google.com>
Diffstat (limited to 'subcmds/overview.py')
0 files changed, 0 insertions, 0 deletions