Make srcmounts readonly

All tools only read from srcmounts and the current setup had a bug
which caused branch mode and minfreespace to be stripped when using
config file.
This commit is contained in:
Antonio SJ Musumeci 2023-04-05 22:24:20 -04:00
parent c681d6c2fe
commit c72997f298
2 changed files with 3 additions and 1 deletions

View File

@ -424,7 +424,8 @@ SrcMounts::SrcMounts(Branches &b_)
int
SrcMounts::from_string(const std::string &s_)
{
return _branches.from_string(s_);
// return _branches.from_string(s_);
return 0;
}
std::string

View File

@ -68,6 +68,7 @@ namespace l
IFERT("read-thread-count");
IFERT("readdirplus");
IFERT("scheduling-priority");
IFERT("srcmounts");
IFERT("threads");
IFERT("version");