gitk: When searching, only highlight files when in Patch mode
authorStefan Haller <stefan@haller-berlin.de>
Thu, 4 Oct 2012 20:50:17 +0000 (22:50 +0200)
committerPaul Mackerras <paulus@samba.org>
Sun, 21 Oct 2012 22:24:47 +0000 (09:24 +1100)
commit978904bf16600dd21888964f3d5cabf02ba39f22
tree54f0326cb72d477c4e1df6f377967f12373b6a9e
parentce837c9de5d67919437e1c05789b23c3aca95d4c
gitk: When searching, only highlight files when in Patch mode

This fixes another regression that was introduced in b967135 ("gitk:
Synchronize highlighting in file view when scrolling diff"): when
searching for a string in tree mode, jumping to the next search hit
would highlight the "Comments" entry in the file list.

Signed-off-by: Stefan Haller <stefan@haller-berlin.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk