diff options
author | Paul Mackerras <paulus@samba.org> | 2008-10-16 09:57:02 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-10-16 09:57:02 +1100 |
commit | 968ce45c9d2765b527d895b6933d20c0d104387c (patch) | |
tree | 32a3af146e03628398e8659bd5fa40aeea8731b5 | |
parent | 39ee47ef0616fb67ffdffca98283272c36deecc9 (diff) | |
download | git-968ce45c9d2765b527d895b6933d20c0d104387c.tar.gz |
gitk: Fix binding for <Return> in sha1 entry field
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>
-rwxr-xr-x | gitk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2161,7 +2161,7 @@ proc makewindow {} { 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} |