Skip to content

Commit

Permalink
Don't cut off last character of commit descriptions.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nikolaj Schumacher authored and Junio C Hamano committed Jul 22, 2008
1 parent d5d745f commit c79cc2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/emacs/git-blame.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c79cc2e

Please sign in to comment.