]> git.eshelyaron.com Git - emacs.git/commitdiff
Honor 'vc-bzr-log-switches' in 'vc-bzr-expanded-log-entry'
authorSteven De Herdt <steven.deherdt@gmail.com>
Sat, 24 Nov 2018 22:57:57 +0000 (23:57 +0100)
committerEli Zaretskii <eliz@gnu.org>
Sat, 8 Dec 2018 09:34:09 +0000 (11:34 +0200)
* 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

index 8e1a6bec2033834b0eb79629cdfbfcdde25278f6..e6d636f23c5fecde91197adc204f09f380c7f474 100644 (file)
@@ -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.