gitk: Fix a couple of bugs in the find function
authorPaul Mackerras <paulus@samba.org>
Wed, 2 Jan 2008 10:44:06 +0000 (21:44 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 2 Jan 2008 10:44:06 +0000 (21:44 +1100)
First, findmore would sometimes get a Tcl error due to relying on
varcorder and vrownum having valid values for the rows being searched,
but they may not be valid unless update_arcrows is called, so this
makes findmore call update_arcrows if necessary.

Secondly, in the "touching paths" and "adding/removing string" modes,
findmore was treating fhighlights($row) == -1 as meaning the row
matches, whereas it only means that we haven't received an answer from
the external git diff-tree process about it yet. This fixes it.

Signed-off-by: Paul Mackerras <paulus@samba.org>
No differences found