mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdStop
- Converted from A3 modifications to Task::modify.
This commit is contained in:
parent
350b73cb8c
commit
969db3a9ed
1 changed files with 1 additions and 4 deletions
|
@ -61,9 +61,6 @@ int CmdStop::execute (std::string& output)
|
|||
return 1;
|
||||
}
|
||||
|
||||
// Apply the command line modifications to the new task.
|
||||
A3 modifications = context.a3.extract_modifications ();
|
||||
|
||||
// Accumulated project change notifications.
|
||||
std::map <std::string, std::string> projectChanges;
|
||||
|
||||
|
@ -79,7 +76,7 @@ int CmdStop::execute (std::string& output)
|
|||
task->id,
|
||||
task->get ("description"));
|
||||
|
||||
modify_task_annotate (*task, modifications);
|
||||
task->modify (Task::modAnnotate);
|
||||
task->remove ("start");
|
||||
|
||||
if (context.config.getBoolean ("journal.time"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue