Commit 386befb
committed
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 <[email protected]>1 parent d34835c commit 386befb
1 file changed
+44
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6879 | 6879 | | |
6880 | 6880 | | |
6881 | 6881 | | |
6882 | | - | |
| 6882 | + | |
6883 | 6883 | | |
6884 | 6884 | | |
6885 | 6885 | | |
| |||
6892 | 6892 | | |
6893 | 6893 | | |
6894 | 6894 | | |
| 6895 | + | |
| 6896 | + | |
| 6897 | + | |
| 6898 | + | |
| 6899 | + | |
6895 | 6900 | | |
6896 | | - | |
6897 | | - | |
6898 | | - | |
6899 | | - | |
6900 | | - | |
6901 | | - | |
6902 | | - | |
6903 | | - | |
6904 | | - | |
6905 | | - | |
6906 | | - | |
6907 | | - | |
6908 | | - | |
| 6901 | + | |
| 6902 | + | |
| 6903 | + | |
| 6904 | + | |
| 6905 | + | |
| 6906 | + | |
| 6907 | + | |
| 6908 | + | |
| 6909 | + | |
| 6910 | + | |
| 6911 | + | |
| 6912 | + | |
| 6913 | + | |
| 6914 | + | |
| 6915 | + | |
| 6916 | + | |
| 6917 | + | |
6909 | 6918 | | |
| 6919 | + | |
| 6920 | + | |
| 6921 | + | |
| 6922 | + | |
| 6923 | + | |
| 6924 | + | |
| 6925 | + | |
| 6926 | + | |
| 6927 | + | |
| 6928 | + | |
| 6929 | + | |
| 6930 | + | |
| 6931 | + | |
| 6932 | + | |
| 6933 | + | |
| 6934 | + | |
| 6935 | + | |
| 6936 | + | |
| 6937 | + | |
| 6938 | + | |
6910 | 6939 | | |
6911 | 6940 | | |
6912 | 6941 | | |
6913 | | - | |
| 6942 | + | |
6914 | 6943 | | |
6915 | 6944 | | |
6916 | 6945 | | |
| |||
0 commit comments