Removed "remotes" from the branch name.

This commit is contained in:
Phil Jackson 2010-04-01 01:17:09 +01:00
parent a86fab4e97
commit bf49b72cf0

View file

@ -3623,7 +3623,7 @@ With prefix force the removal even it it hasn't been merged."
"Extract details from branch -va output." "Extract details from branch -va output."
(string-match (concat (string-match (concat
"^\\(\\*? \\{1,2\\}\\)" ; current branch marker (maybe) "^\\(\\*? \\{1,2\\}\\)" ; current branch marker (maybe)
"\\(.+?\\) +" ; branch name "\\(?:remotes/\\)?\\(.+?\\) +" ; branch name
"\\(?:" "\\(?:"
"\\([0-9a-fA-F]\\{7\\}\\) " ; sha1 "\\([0-9a-fA-F]\\{7\\}\\) " ; sha1