summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2007-08-30 21:54:17 +1000
committerPaul Mackerras <paulus@samba.org>2007-08-30 21:54:17 +1000
commit5cd15b6b7f87dc61f729ad31a682ffc394560273 (patch)
tree805c2a91330829dcbc9ca9ecdd2afc59b71e933b /git-gui/lib/commit.tcl
parent6eaaccd12846c5957c3433c773ad60b8a4196045 (diff)
downloadgit-5cd15b6b7f87dc61f729ad31a682ffc394560273.tar.gz
gitk: Add a cache for the topology info
This adds code to write out the topology information used to determine precedes/follows and branch information into a cache file (~3.5MB for the kernel tree). At startup we read the cache file and then do a git rev-list to update it, which is fast because we exclude all commits in the cache that have no children and commits reachable from them (which amounts to everything in the cache). If one of those commits without children no longer exists, then git rev-list will give an error, whereupon we throw away the cache and read in the whole tree again. This gives a significant speedup in the startup time for gitk. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions