Browse Source

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.
pull/1171/head
Antonio SJ Musumeci 1 year ago
parent
commit
c72997f298
  1. 3
      src/branches.cpp
  2. 1
      src/config.cpp

3
src/branches.cpp

@ -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

1
src/config.cpp

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

Loading…
Cancel
Save