summaryrefslogtreecommitdiffstats
path: root/error.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2021-02-28 17:08:55 -0500
committerMike Frysinger <vapier@google.com>2021-03-01 15:57:12 +0000
commit76844ba2926b53ed56f2275365a6518d11310b95 (patch)
tree59d688781f4f5fccf3e9a40b7346d518755547f6 /error.py
parent6d1faa1db35439b267a7b10725ab0876f027ecb6 (diff)
downloadgit-repo-76844ba2926b53ed56f2275365a6518d11310b95.tar.gz
project: skip clone bundles when we've already initialized the object dir
The clone bundle logic assumes there is a one-to-one mapping between the projects/ and project-objects/ trees. When using shared projects (where we checkout different branches from the same project), this would lead us to fetching the same clone bundle multiple times. Automatically skip the clone bundle logic if the project-objects/ dir already exists. Bug: https://crbug.com/gerrit/10993 Change-Id: I82c6fa1faf8605fd56c104fcea2a43dd4eecbce4 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/298682 Reviewed-by: Michael Mortensen <mmortensen@google.com> Tested-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'error.py')
0 files changed, 0 insertions, 0 deletions