From 51170f34acb8f5c420f728f3e755be2f8961ef11 Mon Sep 17 00:00:00 2001 From: Steven De Herdt Date: Sat, 24 Nov 2018 23:57:57 +0100 Subject: [PATCH] Honor 'vc-bzr-log-switches' in 'vc-bzr-expanded-log-entry' * lisp/vc/vc-bzr.el (vc-bzr-expanded-log-entry): Honor 'vc-bzr-log-switches'. (Bug#33494) Copyright-paperwork-exempt: yes --- lisp/vc/vc-bzr.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/vc/vc-bzr.el b/lisp/vc/vc-bzr.el index 8e1a6bec203..e6d636f23c5 100644 --- a/lisp/vc/vc-bzr.el +++ b/lisp/vc/vc-bzr.el @@ -782,7 +782,11 @@ If LIMIT is non-nil, show no more than this many entries." (defun vc-bzr-expanded-log-entry (revision) (with-temp-buffer (apply 'vc-bzr-command "log" t nil nil - (list "--long" (format "-r%s" revision))) + (append + (list "--long" (format "-r%s" revision)) + (if (stringp vc-bzr-log-switches) + (list vc-bzr-log-switches) + vc-bzr-log-switches))) (goto-char (point-min)) (when (looking-at "^-+\n") ;; Indent the expanded log entry. -- 2.39.5