Skip to content

Commit c79cc2e

Browse files
Nikolaj Schumachergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d5d745f commit c79cc2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/emacs/git-blame.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ See also function `git-blame-mode'."
381381
"log" "-1"
382382
(concat "--pretty=" git-blame-log-oneline-format)
383383
hash)
384-
(buffer-substring (point-min) (1- (point-max)))))
384+
(buffer-substring (point-min) (point-max))))
385385

386386
(defvar git-blame-last-identification nil)
387387
(make-variable-buffer-local 'git-blame-last-identification)

0 commit comments

Comments
 (0)