Remove locking config (#3519)

This flag is no longer needed. It was used to control file locking on the *.data files.

Co-authored-by: Sebastian Carlos <sebastiancarlos@gmail.com>
This commit is contained in:
Sebastian Carlos 2024-06-28 19:12:10 -03:00 committed by GitHub
parent 5ab51271b0
commit b70d8ef574
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 1 additions and 19 deletions

View file

@ -78,7 +78,6 @@ std::string configurationDefaults =
"\n"
"# Files\n"
"data.location=~/.task\n"
"locking=1 # Use file-level locking\n"
"gc=1 # Garbage-collect data files - DO NOT CHANGE unless you are sure\n"
"exit.on.missing.db=0 # Whether to exit if ~/.task is not found\n"
"hooks=1 # Master control switch for hooks\n"

View file

@ -177,12 +177,6 @@ int CmdDiagnostics::execute (std::string& output)
<< env
<< '\n';
out << " Locking: "
<< (Context::getContext ().config.getBoolean ("locking")
? "Enabled"
: "Disabled")
<< '\n';
out << " GC: "
<< (Context::getContext ().config.getBoolean ("gc")
? "Enabled"

View file

@ -176,7 +176,6 @@ int CmdShow::execute (std::string& output)
" limit"
" list.all.projects"
" list.all.tags"
" locking"
" nag"
" news.version"
" obfuscate"