git-gui: allow undoing last revert
authorPratyush Yadav <me@yadavpratyush.com>
Sun, 25 Aug 2019 20:13:23 +0000 (01:43 +0530)
committerPratyush Yadav <me@yadavpratyush.com>
Wed, 28 Aug 2019 21:49:03 +0000 (03:19 +0530)
Accidental clicks on the revert hunk/lines buttons can cause loss of
work, and can be frustrating. So, allow undoing the last revert.

Right now, a stack or deque are not being used for the sake of
simplicity, so only one undo is possible. Any reverts before the
previous one are lost.

Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
No differences found