summaryrefslogtreecommitdiff
path: root/test/main.cpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-10-07 16:26:51 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-10-07 16:34:56 +0200
commit149fe52517653a3a5c2ef5f2be2ab09415eedba4 (patch)
tree5e223a08dee78bec91eaf4e6f94be653ca846f2a /test/main.cpp
parent947a1e16e8079592773c055e86d9c4cbb8c305a8 (diff)
downloadjustbuild-149fe52517653a3a5c2ef5f2be2ab09415eedba4.tar.gz
Fix upload of known source trees
When a tree is taken from a git root, it is not necessarily known on the remote site. So, as any missing artifact it has to be uploaded, recursively uploading the parts to keep the tree invariant. The function RetrieveToCas was doing the correct recursiv pattern, however inspecting trees incorrectly using the function ReadTreeInfos; the latter function, however, was obtaining all the leafs of the tree as is needed for a compatible action-input description. Add and use a function that reads the direct contents of a tree.
Diffstat (limited to 'test/main.cpp')
0 files changed, 0 insertions, 0 deletions