author | Paul Mackerras <paulus@samba.org> | |
Thu, 26 Jul 2007 12:36:39 +0000 (22:36 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Thu, 26 Jul 2007 12:36:39 +0000 (22:36 +1000) | ||
commit | 005a2f4e6df7060561817828d4fa4245f87ccadf | |
tree | 63ea182100e203439986ac8cb6e5cd4ae20cf59d | tree | snapshot |
parent | 0eafba1405bf4db29bca0b535477beb3046441bf | commit | diff |
gitk: Fix bugs in the Find function
This fixes the problem reported by Brian Downing where searching for
a string that doesn't exist would give a Tcl error. The basic problem
was that we weren't reading the data for the last commit since it
wasn't terminated with a null. This effectively adds a null on the end
(if there isn't one already) to make sure we process the last commit.
This also makes the yellow background behind instances of the search
string appear more consistently, and fixes a bug where the "/" key
would just find the same commit again and again instead of advancing.
Signed-off-by: Paul Mackerras <paulus@samba.org>
This fixes the problem reported by Brian Downing where searching for
a string that doesn't exist would give a Tcl error. The basic problem
was that we weren't reading the data for the last commit since it
wasn't terminated with a null. This effectively adds a null on the end
(if there isn't one already) to make sure we process the last commit.
This also makes the yellow background behind instances of the search
string appear more consistently, and fixes a bug where the "/" key
would just find the same commit again and again instead of advancing.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |