mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug #762
- Fixed bug #762, so that modifications to task are considered 'write' commands, and there update shadow files (thanks to Aikido Guy).
This commit is contained in:
parent
4584da8895
commit
58f2b9789e
4 changed files with 7 additions and 2 deletions
|
@ -312,7 +312,9 @@ int Context::dispatch (std::string &out)
|
|||
else { rc = shortUsage (out); }
|
||||
|
||||
// Only update the shadow file if such an update was not suppressed (shadow),
|
||||
if (cmd.isWriteCommand () && !inShadow)
|
||||
if ((cmd.isWriteCommand () ||
|
||||
(cmd.command == "" && sequence.size ())) &&
|
||||
!inShadow)
|
||||
shadow ();
|
||||
|
||||
return rc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue