git-blame.el: separate git-blame-mode to ease maintenance
commit02f0559ebafffac3af362ea1b1b0ee009090efa1
authorXavier Maillard <zedek@gnu.org>
Mon, 26 Mar 2007 21:00:54 +0000 (26 23:00 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 1 Apr 2007 06:58:10 +0000 (31 23:58 -0700)
tree779e18168de9e6cf3714fde297c72a5ce1282456
parentd8b6a1a10b93666246984a50d64a163e71163aeb
git-blame.el: separate git-blame-mode to ease maintenance

git-blame-mode has been splitted into git-blame-mode-on and
git-blame-mode-off; it now conditionnaly calls one of them depending
of how we call it. Code is now easier to maintain and to understand.

Fixed `git-reblame' function: interactive form was at the wrong
place.

String displayed on the mode line is now configurable through
`git-blame-mode-line-string` (default to " blame").

Signed-off-by: Xavier Maillard <zedek@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/emacs/git-blame.el