mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-02 05:30:23 +02:00
Enhancement - undo
- Added logging of both new tasks, and modified tasks. - Added size of undo.data file to the statistics report.
This commit is contained in:
parent
c29682b91f
commit
5d8c28f72f
3 changed files with 40 additions and 22 deletions
|
@ -1617,6 +1617,10 @@ std::string handleReportStats ()
|
|||
if (!stat (file.c_str (), &s))
|
||||
dataSize += s.st_size;
|
||||
|
||||
file = location + "/undo.data";
|
||||
if (!stat (file.c_str (), &s))
|
||||
dataSize += s.st_size;
|
||||
|
||||
// TODO Include transaction log?
|
||||
|
||||
// Get all the tasks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue