Subject: bug#11757: Acknowledgement (24.1.50; vc-git calls `process-file' too many times)

From: Michael Albinus <[email-masked]>
Date: Sat, 30 Jun 2012 20:46:05 +0200

Dmitry Gutov <[email-masked]> writes:

> This way, `vc-before-save' clears 'vc-backend property too and
> (vc-backend file) retuns nil in `vc-after-save', and the mode-line
> isn't getting updated.

So we might let-bind the 'vc-backend property to a local variable, and
reset it after cleanup.

> I'm not sure what we should do. Call (vc-mode-line) anyway? That would work.

Nope. This is expansive, because it recomputes `vc-working-revision'. We
would loose all improvements from using the cache.

> -- Dmitry

Best regards, Michael.