mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdSync
- Removed TDB2::commit.
This commit is contained in:
parent
dcbdf42264
commit
e6801007bd
1 changed files with 0 additions and 3 deletions
|
@ -237,9 +237,6 @@ int CmdSync::execute (std::string& output)
|
||||||
context.tdb2.backlog.clear_lines ();
|
context.tdb2.backlog.clear_lines ();
|
||||||
context.tdb2.backlog.add_line (sync_key + "\n");
|
context.tdb2.backlog.add_line (sync_key + "\n");
|
||||||
|
|
||||||
// Commit all changes.
|
|
||||||
context.tdb2.commit ();
|
|
||||||
|
|
||||||
// Present a clear status message.
|
// Present a clear status message.
|
||||||
if (upload_count == 0 && download_count == 0)
|
if (upload_count == 0 && download_count == 0)
|
||||||
// Note: should not happen - expect code 201 instead.
|
// Note: should not happen - expect code 201 instead.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue