diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-04-19 15:32:26 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-04-19 15:50:02 +0200 |
commit | 7ac10782ca0fcf896137f79cdaa3a3f4e74bdbeb (patch) | |
tree | 4c0d4bbbfb7d479e9508fcf4653c5a7e9af54659 /src/utils/cpp | |
parent | 728f9e810ed3b49a73243b6002e1117a86bad437 (diff) | |
download | justbuild-7ac10782ca0fcf896137f79cdaa3a3f4e74bdbeb.tar.gz |
just-mr archive: subdir matters!
When deciding if two archive-based repositories create the same root
it is not enough to compare the contents of the archive; it also
matters which subdirectory we will take as root. This is especially
important, if we take the same archive on the one hand for the code
and also the example subdir for testing.
Additionally, we cannot ignore the archive type; there are tar
archives that are also zip archives, but with different content. (Tar
only cares about the initial segment till it finds the two empty
blocks; zip has the index at the end and ignores any initial segment
that might have been prepended to a valid zip archive.)
Diffstat (limited to 'src/utils/cpp')
0 files changed, 0 insertions, 0 deletions