mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
Commands - merge
- Migrated handleMerge to CmdMerge.
This commit is contained in:
parent
af90a14cb5
commit
510ce650a6
9 changed files with 153 additions and 70 deletions
|
@ -249,10 +249,7 @@ int Context::dispatch (std::string &out)
|
|||
Timer t ("Context::dispatch");
|
||||
|
||||
// TODO Chain-of-command pattern dispatch.
|
||||
if (cmd.command == "merge") { tdb.gc ();
|
||||
handleMerge (out); }
|
||||
else if (cmd.command == "" &&
|
||||
sequence.size ()) { rc = handleModify (out); }
|
||||
if (cmd.command == "" && sequence.size ()) { rc = handleModify (out); }
|
||||
|
||||
// Commands that display IDs and therefore need TDB::gc first.
|
||||
// ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue