[BREAKING] remove diff display from 'task undo'
TaskChampion does not make the necessary information available to accomplish this, but see #2928.
This commit is contained in:
committed by
Dustin J. Mitchell
parent
87467f72c7
commit
4b814bc602
@@ -780,8 +780,7 @@ void TDB2::revert ()
|
||||
std::string prior;
|
||||
revert_undo (u, uuid, when, current, prior);
|
||||
|
||||
// Display diff and confirm.
|
||||
show_diff (current, prior, when);
|
||||
// Confirm.
|
||||
if (! Context::getContext ().config.getBoolean ("confirmation") ||
|
||||
confirm ("The undo command is not reversible. Are you sure you want to revert to the previous state?"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user