diff options
| author | Paul Mackerras <paulus@samba.org> | 2006-08-16 20:02:32 +1000 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2006-08-16 20:02:32 +1000 |
| commit | d1e46756d312f65613863a41c256d852fcde330c (patch) | |
| tree | 99f4efb3c39afed82052479e235701de59441c1c /git.c | |
| parent | ceadfe90c64b293a653bcbbce83283d2665d7cf9 (diff) | |
| download | git-d1e46756d312f65613863a41c256d852fcde330c.tar.gz | |
gitk: Improve responsiveness while reading and layout out the graph
This restructures layoutmore so that it can take a time limit and do
limited amounts of graph layout and graph optimization, and return 1
if it exceeded the time limit before finishing everything it could do.
Also getcommitlines reads at most half a megabyte each time, to limit
the time it spends parsing the commits to about a tenth of a second.
Also got rid of the unused ncmupdate variable while I was at it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions
