mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Sync
- Properly marked sync command as not displaying IDs, therefore no GC.
This commit is contained in:
parent
936720220c
commit
8d3e340819
1 changed files with 5 additions and 1 deletions
|
@ -44,7 +44,7 @@ CmdSync::CmdSync ()
|
|||
_usage = "task synchronize";
|
||||
_description = STRING_CMD_SYNC_USAGE;
|
||||
_read_only = false;
|
||||
_displays_id = true;
|
||||
_displays_id = false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -87,6 +87,8 @@ int CmdSync::execute (std::string& output)
|
|||
std::vector <std::string> lines;
|
||||
split (lines, payload, '\n');
|
||||
|
||||
// TODO Load all tasks.
|
||||
|
||||
std::string synch_key;
|
||||
std::vector <std::string>::iterator line;
|
||||
for (line = lines.begin (); line != lines.end (); ++line)
|
||||
|
@ -105,6 +107,8 @@ int CmdSync::execute (std::string& output)
|
|||
|
||||
// TODO Truncate backlog.data.
|
||||
// TODO Store new synch key.
|
||||
|
||||
// TODO Commit.
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue