Bradley <[email protected]> writes: > On Jan 16, 8:34 am, Philip Jackson <[email protected]> wrote: >> If the second solution is making `magit-revert-item-confirm' t by >> default then, yep, go for it. > > I agree. I've been using magit for quite some time, but just got > bitten by this, as I was hitting C-v to scroll through a change, > slipped my finger off the CTRL key, and lost a days' set of a changes > to a file. It was even worse that a ~ backup wasn't even created, > despite having Emacs set up to always create ~ backups. I've now set > magit-revert-item-confirm to t in my .emacs, but I'd encourage it to > be the default.
It's already done in magit's git. It will be the default value in the next release. -- Rémi Vanicat
