On Wednesday, Jonas Bernoulli wrote:
> 
> It was a mistake that I assumed that just because nobody has ever
> complained about `revert-buffer' being called whenever magit did run
> git, that this would stay the same way when also calling
> `revert-buffer' after git was run in a shell.

See this for a long complaint about auto-reverting from about two
years ago:

  http://comments.gmane.org/gmane.comp.version-control.git.magit/1227

IIRC, the agreement was to add an option to turn it off and keep the
default on.

Regardless of my own case (where I have my own hooks for a safe kind
of auto-revert via undo), I still think that the decision of whether
or not people want the auto-revert feature or not should be determined
globally, rather than specific packages installing their own defaults.
This is especially true with the default way that auto reverting is
done (and the way the magit-specific code did it), which can easily
lead to lost work.

But of course having an option to turn it off is good enough for me.
(Since the above post I've learned to do some git games via a
shell-command instead of via magit.)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

-- 
You received this message because you are subscribed to the Google Groups 
"magit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to