1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-24 19:03:29 +00:00

(vc-diff-internal): Fix prev change.

This commit is contained in:
André Spiegel 2006-07-05 08:05:29 +00:00
parent 180f018c6c
commit 51ef683bad

View File

@ -1846,7 +1846,7 @@ actually call the backend, but performs a local diff."
(if (and file-rev1 file-rev2)
(let ((status
(if (eq vc-diff-knows-L 'no)
(apply 'vc-do-command "*vc-diff*" 1 "diff"
(apply 'vc-do-command "*vc-diff*" 1 "diff" nil
(append (vc-switches nil 'diff)
(list (file-relative-name file-rev1)
(file-relative-name file-rev2))))
@ -1864,7 +1864,7 @@ actually call the backend, but performs a local diff."
(if (eq status 2)
(if (not vc-diff-knows-L)
(setq vc-diff-knows-L 'no
status (apply 'vc-do-command "*vc-diff*" 1 "diff"
status (apply 'vc-do-command "*vc-diff*" 1 "diff" nil
(append
(vc-switches nil 'diff)
(list (file-relative-name file-rev1)