[go: up one dir, main page]

RedoCommand can revert any command (not just undone ones)

Currently, the redo command does not assert that it is reverting a command which has previously been undone. Therefore, it can revert any command. This means, the following:

cobib init --git
cobib add -b test.bib
cobib redo

will result in an empty database, because the redo command reverts the add command.