mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-09 18:50:39 +02:00
Replace direct Task.data access with a temp getter (syntactic refactor)
Now this getter, `data_removeme`, can easily be grepped out and replaced, one usage at a time in small PRs.
This commit is contained in:
parent
3a00956144
commit
dede40bc4e
10 changed files with 29 additions and 26 deletions
|
@ -198,7 +198,7 @@ void CmdImport::importSingleTask (json::object* obj)
|
|||
if (hasGeneratedEnd)
|
||||
task.set ("end", before.get ("end"));
|
||||
|
||||
if (before.data != task.data)
|
||||
if (before.data_removeme() != task.data_removeme())
|
||||
{
|
||||
CmdModify modHelper;
|
||||
modHelper.checkConsistency (before, task);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue