stgit.el: Allow revert on index and work tree