From: Paul Mackerras Date: Thu, 23 Aug 2007 09:35:51 +0000 (+1000) Subject: gitk: Get rid of idinlist array X-Git-Tag: v1.5.4-rc0~318^2~1^2~25 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b0cdca996a3717552ee30e8cc2bd157bb32fd213?ds=inline;hp=b0cdca996a3717552ee30e8cc2bd157bb32fd213 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 ---