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:
Sean Whitton 2025-10-27 18:20:58 +00:00
parent 23d8633579
commit bf02d7e19b

View file

@ -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)