Git hosting web services like Bitbucket Server and GitHub provide a branch view that shows whether branches are ahead or behind master:
This is great for finding remote branches which have been merged and can be deleted.
Can I see whether remote branches are behind or ahead with magit?
I found issue 1550 but that just shows the age and author, not the number of commits.
L L gives:
refsbuffer, even though I don't have any specific settings for this. Maybe I'm using an older version than the one you have? In my version the tracked branch appears inside brackets and whenever there's a difference in commits between remote and local it shows the numbers.
cons_functionfor example, to see the difference between it and the remote, otherwise there's really nothing to show (Git doesn't know what to compare it to).