Actual branch name in remote string.
This commit is contained in:
parent
997ecb4e10
commit
bf14e965ba
1 changed files with 12 additions and 6 deletions
18
magit.el
18
magit.el
|
@ -2507,14 +2507,20 @@ insert a line to tell how to insert more of them"
|
|||
(defun magit-remote-string (remote remote-branch svn-info)
|
||||
(cond
|
||||
((string= "." remote)
|
||||
(format "branch %s"
|
||||
(propertize remote-branch 'face 'magit-branch)))
|
||||
(format "branch %s"
|
||||
(propertize remote-branch 'face 'magit-branch)))
|
||||
(remote
|
||||
(concat remote " " (magit-get "remote" remote "url")))
|
||||
(concat
|
||||
(propertize remote-branch 'face 'magit-branch)
|
||||
" @ "
|
||||
remote
|
||||
" ("
|
||||
(magit-get "remote" remote "url")
|
||||
")"))
|
||||
(svn-info
|
||||
(concat (cdr (assoc 'url svn-info))
|
||||
" @ "
|
||||
(cdr (assoc 'revision svn-info))))))
|
||||
(concat (cdr (assoc 'url svn-info))
|
||||
" @ "
|
||||
(cdr (assoc 'revision svn-info))))))
|
||||
|
||||
(defun magit-refresh-status ()
|
||||
(magit-create-buffer-sections
|
||||
|
|
Loading…
Add table
Reference in a new issue