Commit ae12c20c authored by Jonas Bernoulli's avatar Jonas Bernoulli

magit-repo-list-column-version: Cosmetics

parent e19e8fb1
......@@ -183,9 +183,10 @@ Usually this is just its basename."
;; If there are no tags, use the date in MELPA format.
(magit-git-string "show" "--no-patch" "--format=%cd-g%h"
"--date=format:%Y%m%d.%H%M"))))
(if (and v (string-match-p "\\`[0-9]" v))
(concat " " v)
v)))
(save-match-data
(if (and v (string-match "\\`[0-9]" v))
(concat " " v)
v))))
(defun magit-repolist-column-branch (_id)
"Insert the current branch."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment