minmo : no space between project and branch
This commit is contained in:
parent
5ddf3578fd
commit
a0ff2c4db1
1 changed files with 4 additions and 4 deletions
|
|
@ -68,10 +68,10 @@ filesystem FSTYPE, 'git or 'disk."
|
||||||
|
|
||||||
(defun minmo--fetch-vc-branch (file)
|
(defun minmo--fetch-vc-branch (file)
|
||||||
"Get the branch from vc state cache if available, otherwise call git."
|
"Get the branch from vc state cache if available, otherwise call git."
|
||||||
(concat " :" (or (vc-git--symbolic-ref file)
|
(concat ":" (or (vc-git--symbolic-ref file)
|
||||||
;; first 7 of commit hash:
|
;; first 7 of commit hash:
|
||||||
(substring (vc-git-working-revision file) 0 7)
|
(substring (vc-git-working-revision file) 0 7)
|
||||||
"?")))
|
"?")))
|
||||||
|
|
||||||
(defun minmo-branch () minmo--vc-branch-cache)
|
(defun minmo-branch () minmo--vc-branch-cache)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue