mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Only handleRecurrence/handleUntil when rc.gc=1 (#3772)
This commit is contained in:
parent
fdb7e5e020
commit
7871617e9c
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ int Context::dispatch(std::string& out) {
|
||||||
if (config.getBoolean("debug") && config.getInteger("debug.parser") == 1)
|
if (config.getBoolean("debug") && config.getInteger("debug.parser") == 1)
|
||||||
debug(cli2.dump("Parse Tree (before command-specifіc processing)"));
|
debug(cli2.dump("Parse Tree (before command-specifіc processing)"));
|
||||||
|
|
||||||
if (c->needs_recur_update()) {
|
if (c->needs_recur_update() && Context::getContext().config.getBoolean("gc")) {
|
||||||
handleUntil();
|
handleUntil();
|
||||||
handleRecurrence();
|
handleRecurrence();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue