summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolaj Schumacher <n_schumacher@web.de>2008-06-30 10:08:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-07-22 04:21:51 (GMT)
commitc79cc2e59672fa03985f27ecdbea84e06ea5358f (patch)
tree0a85f12f7e5087f48cbe3d0089c85283f2904929
parentd5d745f90b929310f3893bb8b3766cc1745140c8 (diff)
downloadgit-c79cc2e59672fa03985f27ecdbea84e06ea5358f.zip
git-c79cc2e59672fa03985f27ecdbea84e06ea5358f.tar.gz
git-c79cc2e59672fa03985f27ecdbea84e06ea5358f.tar.bz2
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>
-rw-r--r--contrib/emacs/git-blame.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/emacs/git-blame.el b/contrib/emacs/git-blame.el
index 9f92cd2..4fa70c5 100644
--- a/contrib/emacs/git-blame.el
+++ b/contrib/emacs/git-blame.el
@@ -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)