The following two patches fix working with remote branches from the branch buffer. This used to work in its original implementation but 49d02eca and maybe others broke it completely.
This fix only works with newer versions of git that prefix remote branch names with "remotes/" in the output of "git branch -va". The original implementation worked with older versions as well. At the moment I can only test it v1.6.3.x and v1.7.x (which both do prefix remote branch names) and v1.5.6.x (which doesn't). I don't intend to fix this for older git versions as I don't use them anymore. Moritz Bunkus (2): Set 'remote branch' text property in branch view Remove "remotes/" prefix from remote branch names magit.el | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-)
