mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
Remove 'sync' from default verbose flags (#3319)
Do not give sync feedback when not doing remote sync
This commit is contained in:
parent
fd306712b8
commit
a6b721853b
1 changed files with 5 additions and 0 deletions
|
@ -207,6 +207,11 @@ void feedback_unblocked (const Task& task)
|
|||
///////////////////////////////////////////////////////////////////////////////
|
||||
void feedback_backlog ()
|
||||
{
|
||||
// If non-local sync is not set up, do not provide this feedback.
|
||||
if (Context::getContext ().config.get ("sync.encryption_secret") == "") {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Context::getContext ().verbose ("sync"))
|
||||
{
|
||||
int count = Context::getContext ().tdb2.num_local_changes ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue