author | Paul Mackerras <paulus@samba.org> | |
Thu, 23 Aug 2007 09:35:51 +0000 (19:35 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Thu, 23 Aug 2007 09:35:51 +0000 (19:35 +1000) | ||
commit | b0cdca996a3717552ee30e8cc2bd157bb32fd213 | |
tree | 2cc32a765339d7ed7e6cb443c916db210c46fb08 | tree | snapshot |
parent | 92ed666fa761554c67c8f883863517870a65376d | commit | diff |
gitk: Get rid of idinlist array
This changes layoutrows to use information from rowidlist and children
to work out which parent ids are appearing for the first time or need
an up arrow, instead of using idinlist. To detect the situation where
git log doesn't give us all the commits it references, this adds an
idpending array that is updated and used by getcommitlines.
This also fixes a bug where we weren't resetting the ordertok array when
updating the list of commits; this fixes that too, and a bug where we
could try to access an undefined element of commitrow if the user did
an update before gitk had finished reading in the graph.
Signed-off-by: Paul Mackerras <paulus@samba.org>
This changes layoutrows to use information from rowidlist and children
to work out which parent ids are appearing for the first time or need
an up arrow, instead of using idinlist. To detect the situation where
git log doesn't give us all the commits it references, this adds an
idpending array that is updated and used by getcommitlines.
This also fixes a bug where we weren't resetting the ordertok array when
updating the list of commits; this fixes that too, and a bug where we
could try to access an undefined element of commitrow if the user did
an update before gitk had finished reading in the graph.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |