mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Context
- Setting rc.debug.hooks or rc.debug.parser to non-zero values also sets rc.debug=true, otherwise the output is not visible.
This commit is contained in:
parent
cfe267f2e5
commit
87538589a6
1 changed files with 6 additions and 0 deletions
|
@ -772,6 +772,12 @@ void Context::propagateDebug ()
|
|||
if (! config.has ("debug.parser"))
|
||||
config.set ("debug.parser", 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((config.has ("debug.hooks") && config.getInteger ("debug.hooks")) ||
|
||||
(config.has ("debug.parser") && config.getInteger ("debug.parser")) )
|
||||
config.set ("debug", true);
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue