projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e36ad9
)
vc-git-print-log: Don't assume vc-git-log-switches is a list
author
Sean Whitton
<spwhitton@spwhitton.name>
Sat, 3 Dec 2022 06:42:10 +0000
(23:42 -0700)
committer
Sean Whitton
<spwhitton@spwhitton.name>
Sat, 3 Dec 2022 06:58:30 +0000
(23:58 -0700)
* lisp/vc/vc-git.el (vc-git-print-log): Call ensure-list on
vc-git-log-switches to handle the case where it's a singular string.
lisp/vc/vc-git.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc-git.el
b/lisp/vc/vc-git.el
index a1ff03144bcd3d3fb5f737d23564aa18cade3cbc..38e9d5f9c91e74432d919339b840bb82859a33bb 100644
(file)
--- a/
lisp/vc/vc-git.el
+++ b/
lisp/vc/vc-git.el
@@
-1325,7
+1325,7
@@
If LIMIT is a revision string, use it as an end-revision."
,(format "--pretty=tformat:%s"
(car vc-git-root-log-format))
"--abbrev-commit"))
- vc-git-log-switches
+ (ensure-list vc-git-log-switches)
(when (numberp limit)
(list "-n" (format "%s" limit)))
(when start-revision