gitk: Display important heads even when there are many
commit386befb773e2b4a7cc31135f22555e27597392c1
authorPaul Mackerras <paulus@samba.org>
Wed, 2 Jan 2013 04:25:29 +0000 (2 15:25 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 2 Jan 2013 04:25:29 +0000 (2 15:25 +1100)
treeaeb7ef7d9722d320eae49c8752484b2035a944e6
parentd34835c939bbe059e347133b357441e21a7f7840
gitk: Display important heads even when there are many

When there are more than $maxrefs descendant heads to display in the
Branches field of the commit display, we currently just display "many",
which is not very informative.  To make the display more informative,
we now look for "master" and whichever head is currently checked out,
and display them even if there are too many heads to display them all.
The display then looks like "Branches: master and many more (33)" for
instance.

Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk