summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/git_repo.hpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-10-27 14:13:24 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-10-27 15:44:40 +0200
commit180d8d89ffa92f8c3e8b8bcb912ec1a4990569c9 (patch)
treec645ff2c4b9880b55eb3bf8789a718c455bdc366 /src/buildtool/file_system/git_repo.hpp
parenta97bc72f39744a690927f214a47d74634e44e4df (diff)
downloadjustbuild-180d8d89ffa92f8c3e8b8bcb912ec1a4990569c9.tar.gz
Base export target chache key on the exported target
The cache key for an export target should contain as target name that of the export target (and its effective configuration) rather than the exported target. As we computed the repository part of the cache key for the target included in the key, this was still a correct cache key except in the case an explicit file reference was exported (as here, the information that the file was to be taken rather than the target of the same name got lost). We still fix this issue by making the implementation match our design (rather than by including the file-reference bit in the cache key), as the original design gives the cleaner protocol for target-level caching as a service.
Diffstat (limited to 'src/buildtool/file_system/git_repo.hpp')
0 files changed, 0 insertions, 0 deletions