author | Paul Mackerras <paulus@samba.org> | |
Mon, 18 Jun 2007 12:39:21 +0000 (22:39 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Sat, 23 Jun 2007 10:58:09 +0000 (20:58 +1000) | ||
commit | f3326b66bf8d77c19b5ca7ad70e536251c81cccb | |
tree | 5b7726e76559ca71b3a497a4070f01b5a3bf0a9c | tree | snapshot |
parent | a2c22362cc2c0bb0451bc8098b3ba0c9353ebe02 | commit | diff |
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>
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 | diff | blob | history |