From bf02d7e19b659ac9446c848df21b7b422658d49a Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 27 Oct 2025 18:20:58 +0000 Subject: [PATCH] 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. --- lisp/vc/vc.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 25608d54e62..b66a1121734 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el @@ -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)