Don't cut off last character of commit descriptions.

This should have been part of 24a2293 (git-blame.el: show the when, who
and what in the minibuffer., 2008-02-12), that changed from using
--pretty=oneline to --pretty=format:... without terminating newline.

Acked-by: David Kågedal <davidk@lysator.liu.se>

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Nikolaj Schumacher 2008-06-30 12:08:16 +02:00 committed by Junio C Hamano
parent d5d745f90b
commit c79cc2e596

View file

@ -381,7 +381,7 @@ See also function `git-blame-mode'."
"log" "-1"
(concat "--pretty=" git-blame-log-oneline-format)
hash)
(buffer-substring (point-min) (1- (point-max)))))
(buffer-substring (point-min) (point-max))))
(defvar git-blame-last-identification nil)
(make-variable-buffer-local 'git-blame-last-identification)