mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-04 19:47:18 +02:00
Bug #1056
- Fix #1056: the 'projects' command now outputs abstract parents and reduces repetition by not printing parent names in front of children names. - Project name indentation is not affected by the first character being a period and/or the last character being a period. - Unit tests for above.
This commit is contained in:
parent
a3242f7b5b
commit
be5dc8ab90
6 changed files with 147 additions and 8 deletions
|
@ -84,6 +84,10 @@ const std::string indentProject (
|
|||
const std::string& whitespace = " ",
|
||||
char delimiter = '.');
|
||||
|
||||
const std::vector <std::string> extractParents (
|
||||
const std::string&,
|
||||
const char& delimiter = '.');
|
||||
|
||||
#ifndef HAVE_TIMEGM
|
||||
time_t timegm (struct tm *tm);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue