diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-01-08 15:26:05 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-01-08 15:26:08 +0100 |
commit | 7d0a4df3822ca194d93abb6b65d0ebb264cc1974 (patch) | |
tree | 14d4a11c2c0cd4d5396abb53780cf8c253957cd0 /bin/just-import-git.py | |
parent | 00a50e6145969ae0ef22b8e21f22c428857de70f (diff) | |
download | justbuild-7d0a4df3822ca194d93abb6b65d0ebb264cc1974.tar.gz |
source tree service: Fix ensuring Git cache root
This is an amendment to the changes in commit 8234079, as the
underlying issue was only partially solved there. While the call to
GitRepo::InitAndOpen is in itself properly guarded, it does not
share a lock with the call to create the path to the Git cache if
it is missing.
Fix this by moving the call to the method ensuring the Git cache
initialization to after acquiring the Git cache root garbage
collector shared lock.
Diffstat (limited to 'bin/just-import-git.py')
0 files changed, 0 insertions, 0 deletions