mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
vc-log-incoming, vc-log-outgoing: Pass nil UPSTREAM-LOCATION
This should have been updated along with the recent change to make the UPSTREAM-LOCATION argument to the incoming-revision backend API function optional. * lisp/vc/vc.el (vc-log-incoming, vc-log-outgoing): Pass nil, not the empty string, as the default UPSTREAM-LOCATION.
This commit is contained in:
parent
23d8633579
commit
bf02d7e19b
1 changed files with 2 additions and 2 deletions
|
|
@ -3765,7 +3765,7 @@ UPSTREAM-LOCATION. In some version control systems UPSTREAM-LOCATION
|
|||
can be a remote branch name."
|
||||
(interactive (list (vc--maybe-read-upstream-location)))
|
||||
(vc--with-backend-in-rootdir "VC root-log"
|
||||
(vc-incoming-outgoing-internal backend (or upstream-location "")
|
||||
(vc-incoming-outgoing-internal backend upstream-location
|
||||
"*vc-incoming*" 'log-incoming)))
|
||||
|
||||
(defun vc-default-log-incoming (_backend buffer upstream-location)
|
||||
|
|
@ -3784,7 +3784,7 @@ UPSTREAM-LOCATION. In some version control systems UPSTREAM-LOCATION
|
|||
can be a remote branch name."
|
||||
(interactive (list (vc--maybe-read-upstream-location)))
|
||||
(vc--with-backend-in-rootdir "VC root-log"
|
||||
(vc-incoming-outgoing-internal backend (or upstream-location "")
|
||||
(vc-incoming-outgoing-internal backend upstream-location
|
||||
"*vc-outgoing*" 'log-outgoing)))
|
||||
|
||||
(defun vc-default-log-outgoing (_backend buffer upstream-location)
|
||||
|
|
|
|||
Loading…
Reference in a new issue