vc-git-print-log: Don't assume vc-git-log-switches is a list
* 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.
This commit is contained in:
parent
1e36ad9458
commit
17d40c163e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue