Avoid error when commit-range-link-url-templates is '()
This commit is contained in:
parent
254998a561
commit
41c0d76a3d
1 changed files with 2 additions and 1 deletions
|
|
@ -121,7 +121,8 @@
|
||||||
" and "
|
" and "
|
||||||
(a (@ (href ,(string-append "/revision/" target-commit)))
|
(a (@ (href ,(string-append "/revision/" target-commit)))
|
||||||
(samp ,(string-take target-commit 8) "…")))
|
(samp ,(string-take target-commit 8) "…")))
|
||||||
,@(if (apply string=? commit-range-link-url-templates)
|
,@(if (and (not (null? commit-range-link-url-templates))
|
||||||
|
(apply string=? commit-range-link-url-templates))
|
||||||
`((a (@ (href ,(git-repository-commit-range-link-template->url
|
`((a (@ (href ,(git-repository-commit-range-link-template->url
|
||||||
(first commit-range-link-url-templates)
|
(first commit-range-link-url-templates)
|
||||||
base-commit
|
base-commit
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue