summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/vc/log-view.el14
-rw-r--r--lisp/vc/vc-git.el4
2 files changed, 2 insertions, 16 deletions
diff --git a/lisp/vc/log-view.el b/lisp/vc/log-view.el
index 0b57e1d5086..3389264ce6e 100644
--- a/lisp/vc/log-view.el
+++ b/lisp/vc/log-view.el
@@ -585,13 +585,6 @@ point, get the diff between the revision at point and its
previous revision. Otherwise, get the diff between the revisions
where the region starts and ends.
-When the beginning of the region is on the top line that has no revision,
-use the current working revision as the first revision to compare.
-
-When the end of the region is on the bottom non-revision line after
-the last revision line, use the previous revision of the last
-displayed revision as the second revision to compare.
-
Unlike `log-view-diff-changeset', this function only shows the
part of the changeset which affected the currently considered
file(s)."
@@ -607,13 +600,6 @@ point, get the diff between the revision at point and its
previous revision. Otherwise, get the diff between the revisions
where the region starts and ends.
-When the beginning of the region is on the top line that has no revision,
-use the current working revision as the first revision to compare.
-
-When the end of the region is on the bottom non-revision line after
-the last revision line, use the previous revision of the last
-displayed revision as the second revision to compare.
-
Unlike `log-view-diff' this function shows the whole changeset,
including changes affecting other files than the currently
considered file(s)."
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index b6feb3b8d1e..61c13026cc5 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -1017,8 +1017,8 @@ If LIMIT is a revision string, use it as an end-revision."
;; If the buffer exists from a previous invocation it might be
;; read-only.
(let ((inhibit-read-only t))
- (with-current-buffer buffer
- (insert "\n")
+ (with-current-buffer
+ buffer
(apply 'vc-git-command buffer
'async files
(append