summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 39ee47e)
raw | patch | inline | side by side (parent: 39ee47e)
author | Paul Mackerras <paulus@samba.org> | |
Wed, 15 Oct 2008 22:57:02 +0000 (09:57 +1100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Wed, 15 Oct 2008 22:57:02 +0000 (09:57 +1100) |
This adds a break so that gitk doesn't go and execute the global
binding for <Return> (i.e. find next) when the user presses the
return key in the sha1 entry field to indicate that gitk should
jump to the commit identified by what they just put into the
sha1 field.
Signed-off-by: Paul Mackerras <paulus@samba.org>
binding for <Return> (i.e. find next) when the user presses the
return key in the sha1 entry field to indicate that gitk should
jump to the commit identified by what they just put into the
sha1 field.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index ccfe1917cb3f15365955d72bab21d022b37df26a..00ea8da7359cb3fa8197adce0a47d7a0c5c54a92 100755 (executable)
--- a/gitk
+++ b/gitk
bind . <Destroy> {stop_backends}
bind . <Button-1> "click %W"
bind $fstring <Key-Return> {dofind 1 1}
- bind $sha1entry <Key-Return> gotocommit
+ bind $sha1entry <Key-Return> {gotocommit; break}
bind $sha1entry <<PasteSelection>> clearsha1
bind $cflist <1> {sel_flist %W %x %y; break}
bind $cflist <B1-Motion> {sel_flist %W %x %y; break}