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>
Nikolaj Schumacher committed
Jun 30, 2008 at 12:08 UTC
c79cc2e59672fa03985f27ecdbea84e06ea5358f
1 file changed
+1
-1
contrib/emacs/git-blame.el
+1
-1
@@ -381,7 +381,7 @@ See also function `git-blame-mode'."
381
"log" "-1"
382
(concat "--pretty=" git-blame-log-oneline-format)
383
hash)
384
- (buffer-substring (point-min) (1- (point-max)))))
384
+ (buffer-substring (point-min) (point-max))))
385
386
(defvar git-blame-last-identification nil)
387
(make-variable-buffer-local 'git-blame-last-identification)