diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-12-18 16:49:13 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-12-19 15:20:22 +0100 |
commit | d3c656c06505d23d847e4f704be5c27c6c3ccef4 (patch) | |
tree | d125443e0f9c81b3184b4eda6296e1aeca1d42db /src/other_tools/root_maps/commit_git_map.cpp | |
parent | 5b3f07e4151a18471ae1a37b1664ead46ff01157 (diff) | |
download | justbuild-d3c656c06505d23d847e4f704be5c27c6c3ccef4.tar.gz |
Fix just-mr handling of --absent
If the option --absent is given in just-mr (either directly or
implicitly via the corresponding entry in the rc file), it rewrites
the "pragma" entries in the internal representation of the mr
repository config. When doing so, however, we have to take into
consideration that a workspace root is not necessarily the definition
of a repository, but can, alternatively, also be a reference to
another root. This was not taken into account; fix this by restricting
the rewriting to only json objects.
Diffstat (limited to 'src/other_tools/root_maps/commit_git_map.cpp')
0 files changed, 0 insertions, 0 deletions