author | Alexander Gavrilov <angavrilov@gmail.com> | |
Fri, 3 Oct 2008 07:36:53 +0000 (11:36 +0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 10 Oct 2008 16:33:21 +0000 (09:33 -0700) | ||
commit | f10d5b064ae5c9bcd6e353211f128f5c4072ed4f | |
tree | 39d2118c15a9f8990d4d30b8e710c1f72088d47d | tree | snapshot |
parent | d4d992562e8c6d27ac584ff0907ff840030a98d9 | commit | diff |
git-gui: Add a search command to the blame viewer.
One of the largest deficiencies in the blame viewer at
the moment is the impossibility to search for a text
string. This commit fixes it by adding a Firefox-like
search panel to the viewer.
The panel can be shown by pressing F7 or clicking a
menu entry, and is hidden by pressing Esc. Find Next
is available through the F3 key.
Implementation is based on the gitk code, but heavily
refactored. It now also supports case-insensitive
searches, and uses the text box background color to
signal success or failure of the search.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
One of the largest deficiencies in the blame viewer at
the moment is the impossibility to search for a text
string. This commit fixes it by adding a Firefox-like
search panel to the viewer.
The panel can be shown by pressing F7 or clicking a
menu entry, and is hidden by pressing Esc. Find Next
is available through the F3 key.
Implementation is based on the gitk code, but heavily
refactored. It now also supports case-insensitive
searches, and uses the text box background color to
signal success or failure of the search.
Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history | |
lib/blame.tcl | diff | blob | history | |
lib/search.tcl | [new file with mode: 0644] | blob |