gitk: Fix bug causing nearby tags/heads to sometimes not be displayed
commitf3326b66bf8d77c19b5ca7ad70e536251c81cccb
authorPaul Mackerras <paulus@samba.org>
Mon, 18 Jun 2007 12:39:21 +0000 (18 22:39 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 23 Jun 2007 10:58:09 +0000 (23 20:58 +1000)
tree5b7726e76559ca71b3a497a4070f01b5a3bf0a9c
parenta2c22362cc2c0bb0451bc8098b3ba0c9353ebe02
gitk: Fix bug causing nearby tags/heads to sometimes not be displayed

When we compute descendent heads and descendent/ancestor tags, we
cache the results.  We need to be careful to invalidate the cache
when we add stuff to the graph.  Also make sure that when we cache
descendent heads for a node we only cache the heads that are actually
descendents of that node.

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