Skip to content

Commit

Permalink
[BREAKING] remove diff display from 'task undo'
Browse files Browse the repository at this point in the history
TaskChampion does not make the necessary information available to
accomplish this, but see #2928.
  • Loading branch information
djmitche committed Oct 10, 2022
1 parent e00e685 commit 2ef8648
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/TDB2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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?"))
{
Expand Down

0 comments on commit 2ef8648

Please sign in to comment.