author | Paul Mackerras <paulus@samba.org> | |
Mon, 1 Dec 2008 22:02:46 +0000 (09:02 +1100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Mon, 1 Dec 2008 22:27:30 +0000 (09:27 +1100) | ||
commit | 8b39e04f39c287d8c66b24cc4f6c72916831455c | |
tree | 834df6a6792972405b69002f7cc1f1cd6be0b51f | tree | snapshot |
parent | e11601381e384898418c30bd537a9daa1210c300 | commit | diff |
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 <markb@ordern.com>, but the
implementation is different to his patch, which tested $gdttype at
each place where $markingmatches was tested.
Signed-off-by: Paul Mackerras <paulus@samba.org>
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 <markb@ordern.com>, but the
implementation is different to his patch, which tested $gdttype at
each place where $markingmatches was tested.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |