From: Paul Mackerras Date: Mon, 1 Dec 2008 22:02:46 +0000 (+1100) Subject: gitk: Highlight only when search type is "containing:". X-Git-Tag: v1.6.1-rc2~32^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/8b39e04f39c287d8c66b24cc4f6c72916831455c?ds=inline;hp=8b39e04f39c287d8c66b24cc4f6c72916831455c gitk: Highlight only when search type is "containing:". When the search type is "touching paths" or "adding/removing string", it's not very useful to highlight instances of the search string in the commit message, headline or author name, so this disables the highlighting in those cases. This was suggested by Mark Burton , but the implementation is different to his patch, which tested $gdttype at each place where $markingmatches was tested. Signed-off-by: Paul Mackerras ---