git.el: Check for existing buffers on revert.
authorAlexandre Julliard <julliard@winehq.org>
Thu, 7 Feb 2008 12:51:20 +0000 (13:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Feb 2008 08:13:18 +0000 (00:13 -0800)
commit928323af6b761e8b1c33ce98e67c2f56fd1b7997
tree30ef35a1510b0a33ede7cdfb2dff5489c031caf9
parent76127b3a0d7cf359b12be80971f023b6ee07f7f9
git.el: Check for existing buffers on revert.

Refuse to revert a file if it is modified in an existing buffer but
not saved. On success, revert the buffers that contains the files that
have been reverted.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/emacs/git.el