Auto-commit branches.cpp

This commit is contained in:
Antonio SJ Musumeci 2026-04-14 23:46:42 -05:00
parent fc41113062
commit bf45327dce

View file

@ -453,6 +453,9 @@ void
Branches::find_and_set_mode_ro()
{
auto impl = std::atomic_load(&_impl);
auto new_impl = std::make_shared<Branches::Impl>(impl->minfreespace());
*new_impl = *impl;
for(auto &branch : *impl)
{