gitk: Remove closed file descriptors from $blobdifffd
commit0748f41eb83194dbc310fe47b4948f611ac5b3a2
authorMarkus Hitter <mah@jump-ing.de>
Mon, 7 Nov 2016 15:01:17 +0000 (7 16:01 +0100)
committerPaul Mackerras <paulus@ozlabs.org>
Mon, 12 Dec 2016 09:39:37 +0000 (12 20:39 +1100)
treef6916c3417f2476527a9e46905433cac13b270bf
parent106a6d9d85ead187f8b1be64b7a8dbf19a128743
gitk: Remove closed file descriptors from $blobdifffd

One shouldn't have descriptors of already closed files around.

The first idea to deal with this (previously) ever growing array
was to remove it entirely, but it's needed to detect start of a
new diff with ths old diff not yet done. This happens when a user
clicks on the same commit in the commit list repeatedly without
delay.

Signed-off-by: Markus Hitter <mah@jump-ing.de>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
gitk