mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug #862
- Fixed bug #862, which suppressed feedback from the 'denotate' command.
This commit is contained in:
parent
084c2e5bc7
commit
1009af83d0
2 changed files with 3 additions and 0 deletions
|
@ -203,6 +203,7 @@
|
|||
description. They are now stripped (thanks to Aikido Guy).
|
||||
+ Fixed bug #856, which prevented filters on missing project from working
|
||||
(thanks to Michelle Crane).
|
||||
+ Fixed bug #862, which suppressed feedback from the 'denotate' command.
|
||||
|
||||
# Untracked Bugs, biggest first.
|
||||
+ Fixed bug that required the '%YAML' prologue in a YAML import.
|
||||
|
|
|
@ -95,6 +95,7 @@ int CmdDenotate::execute (std::string& output)
|
|||
if (i->second == pattern)
|
||||
{
|
||||
match = true;
|
||||
anno = i->second;
|
||||
annotations.erase (i);
|
||||
task->setAnnotations (annotations);
|
||||
break;
|
||||
|
@ -107,6 +108,7 @@ int CmdDenotate::execute (std::string& output)
|
|||
std::string::size_type loc = find (i->second, pattern, sensitive);
|
||||
if (loc != std::string::npos)
|
||||
{
|
||||
anno = i->second;
|
||||
annotations.erase (i);
|
||||
task->setAnnotations (annotations);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue