Enhancement - confirmation on big changes

- Implemented confirmation on big changes.  That means if the description is
  changed, or more than 2 tasks are modified in a single command.
- Implemented taskDiff to detect differences between two tasks.
- Implemented taskDifferences to describe differences between two tasks.
This commit is contained in:
Paul Beckingham 2009-06-27 17:09:29 -04:00
parent 8e8f5935b3
commit 6e4f60c4fe
4 changed files with 70 additions and 23 deletions

View file

@ -73,7 +73,8 @@ std::string expandPath (const std::string&);
bool slurp (const std::string&, std::vector <std::string>&, bool trimLines = false);
bool slurp (const std::string&, std::string&, bool trimLines = false);
void spit (const std::string&, const std::string&);
std::string taskDiff (const Task&, const Task&);
bool taskDiff (const Task&, const Task&);
std::string taskDifferences (const Task&, const Task&);
#endif
////////////////////////////////////////////////////////////////////////////////