mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug
- Fixed bug with backlog parsing.
This commit is contained in:
parent
8e5b57954d
commit
19077f76df
1 changed files with 4 additions and 3 deletions
|
@ -113,11 +113,12 @@ int CmdSync::execute (std::string& output)
|
|||
std::vector <std::string> lines = context.tdb2.backlog.get_lines ();
|
||||
std::vector <std::string>::iterator i;
|
||||
for (i = lines.begin (); i != lines.end (); ++i)
|
||||
{
|
||||
if ((*i)[0] == '{')
|
||||
{
|
||||
payload += *i + "\n";
|
||||
++upload_count;
|
||||
}
|
||||
|
||||
payload += *i + "\n";
|
||||
}
|
||||
}
|
||||
|
||||
// Send 'sync' + payload.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue