summaryrefslogtreecommitdiff
path: root/src/utils/cpp/vector.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-02-22 16:07:12 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-02-29 15:06:23 +0100
commit396780f139c82c8b8fe17b6c838699c4fa89be27 (patch)
tree70db76dfdd3440479744ab0e268c03f9e2fb01b1 /src/utils/cpp/vector.hpp
parentb8b6809243f59c6ba704e0e0b59e86f19faad498 (diff)
downloadjustbuild-396780f139c82c8b8fe17b6c838699c4fa89be27.tar.gz
serve source tree: Fix bugs and inconsistencies in remote sync
Firstly, in ServeDistdirTree the tree of a distdir should be synced from the corresponding witnessing Git repository (as is the case with all root trees), but was wrongly trying to sync from the local CAS. Secondly, a status of SYNC_ERROR, according to the protocol, must always ensure the tree field is set, but some setter calls were missing. Thirdly, ServeContent and ServeTree failed to report on successfully syncing to remote if the blob or tree, respetively, were uploaded from the local CAS. Lastly, ServeDistdirTree contained some legacy code sections and comments that were superfluous. This commit fixes these issues.
Diffstat (limited to 'src/utils/cpp/vector.hpp')
0 files changed, 0 insertions, 0 deletions