summaryrefslogtreecommitdiffstats
path: root/run_tests.vpython3
diff options
context:
space:
mode:
authorJosef Malmström <josef.malmstrom@arm.com>2026-05-04 14:11:46 +0200
committergerrit-scoped@luci-project-accounts.iam.gserviceaccount.com <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2026-05-13 00:00:27 -0700
commit003f0407fc5a301105a457f5ddc9773f1224cc97 (patch)
tree34b3f9612ab576b02293a67f6b1893587723324e /run_tests.vpython3
parent1db50e49fb7f99a61f7a3ceee3e1f6289208e249 (diff)
downloadgit-repo-003f0407fc5a301105a457f5ddc9773f1224cc97.tar.gz
Fix missing `None` check in Remote.Save
This code was causing an exception in cases where `pushUrl` was set but `projectname` was not. This can happen when `pushUrl` is set for the manifest repo which does not have a `projectname`. For example: repo init --manifest-url ssh://url.to/my/manifest cd .repo/manifests git config remote.origin.pushurl ssh://url.to/my/manifest repo init --manifest-url ssh://url.to/my/manifest --repo-rev main The last `repo init` invocation causes an error. Change-Id: Ibb68c8446880cfbac22feee595d1fd1b678c7ade Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/579162 Reviewed-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Josef Malmstrom <Josef.Malmstrom@arm.com> Tested-by: Josef Malmstrom <Josef.Malmstrom@arm.com> Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'run_tests.vpython3')
0 files changed, 0 insertions, 0 deletions