mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TD-64: sync conflict deleted all annotations of the task
- Thanks to Markus Beppler, Konstantin Vorobyev.
This commit is contained in:
parent
bc34397e9b
commit
eb09df0e6a
3 changed files with 9 additions and 1 deletions
2
AUTHORS
2
AUTHORS
|
@ -126,7 +126,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
|
|||
Sunil Joshi
|
||||
Misty De Meo
|
||||
Kent R. Spillner
|
||||
Konstantin
|
||||
Konstantin Vorobyev
|
||||
|
||||
Thanks to the following, who submitted detailed bug reports and excellent
|
||||
suggestions:
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
2.6.0 () -
|
||||
|
||||
- TD-64 sync conflict deleted all annotations of the task
|
||||
(thanks to Markus Beppler, Konstantin Vorobyev).
|
||||
- Removed deprecated 'alias._query' setting.
|
||||
|
||||
------ current release ---------------------------
|
||||
|
|
|
@ -270,6 +270,9 @@ void Task::set (const std::string& name, const std::string& value)
|
|||
{
|
||||
data[name] = json::decode (value);
|
||||
|
||||
if (! name.compare (0, 11, "annotation_", 11))
|
||||
++annotation_count;
|
||||
|
||||
recalc_urgency = true;
|
||||
}
|
||||
|
||||
|
@ -286,6 +289,9 @@ void Task::remove (const std::string& name)
|
|||
{
|
||||
if (data.erase (name))
|
||||
recalc_urgency = true;
|
||||
|
||||
if (! name.compare (0, 11, "annotation_", 11))
|
||||
--annotation_count;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue