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