mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
5ab51271b0
commit
b70d8ef574
6 changed files with 1 additions and 19 deletions
|
@ -22,9 +22,8 @@ SHADOW_FILE=$(task _get rc.shadow.file)
|
|||
# rc.detection=off Disables terminal size detection
|
||||
# rc.gc=off Disables GC, thus not changing IDs unexpectedly
|
||||
# rc.color=off Disable color in the shadow file
|
||||
# rc.locking=off Disable file locking, to prevent race condition
|
||||
# rc.hooks=off Disable hooks, to prevent race condition
|
||||
task $SHADOW_COMMAND rc.detection=off rc.gc=off rc.color=off rc.locking=off rc.hooks=off > $SHADOW_FILE 2>/dev/null
|
||||
task $SHADOW_COMMAND rc.detection=off rc.gc=off rc.color=off rc.hooks=off > $SHADOW_FILE 2>/dev/null
|
||||
if [[ $? != 0 ]]
|
||||
then
|
||||
echo Could not create $SHADOW_FILE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue