On Wed, 5 Mar 2014 15:10:39 -0800 (PST) Jonas Bernoulli <[email protected]> wrote:
JB> Please have a look at https://github.com/magit/magit/pull/1268 and test it. I think that should do it for the time being. JB> With this *tracked* files are automatically reverted but only in the JB> *current* repository and only after a *Magit command* did run. As such JB> it mostly restores the behavior from a few months ago. It is less JB> dangerous than that was because it ignores files that aren't tracked JB> and those located in the gitdir. It still has the potential of eating JB> data which is inherent to `revert-buffer'. Yup. Thank you, this is a good approach IMO. JB> Never-the-less I am enabling it by default by default, because it JB> restores the behavior we have had for years without anybody JB> complaining. Do you think I should not be doing that? Since it doesn't enable the global `auto-revert-mode' upon loading and only applies to the repos, it's reasonable to enable it by default IMO. JB> The behavior can be toggled using a global minor mode. By default that JB> mode is active and has a mode-line lighter. The idea behind the JB> "unnecessary" lighter is that this gives users a chance to notice it, JB> click on it, and read about its implications. Very nice! Ted -- 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/groups/opt_out.
