summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2007-06-16 21:21:57 +1000
committerPaul Mackerras <paulus@samba.org>2007-06-23 20:55:26 +1000
commit0a4dd8b855fb5e4997087badbb6291cfc3f57baf (patch)
tree6125cf95856819c804f7cda7ecf6e4fdf9482fad /commit.c
parente11f12331552427113bcfd3721008ffc7227aac0 (diff)
downloadgit-0a4dd8b855fb5e4997087badbb6291cfc3f57baf.tar.gz
gitk: Don't try to list large numbers of tags or heads in the details pane
With some large repositories, a commit can end up on thousands of branches, which results in an extremely long "Branches:" line in the details window, and that results in the window being extremely slow to scroll. This fixes it by just showing "many (N)" after "Branches:", "Follows:" or "Precedes:", where N is the number of heads or tags. The limit is currently set at 20 but could be made configurable (and the "many" could be a link to pop up a window listing them all in case anyone really wants to know). Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions