{"thread":{"id":"39084","subject":"[PATCH] gitk: Allow to quickly go to a specific commit","startedAt":"2015-04-15T16:18:17Z","lastAt":"2015-05-17T04:24:42Z","messageCount":2,"participants":["Ismael Luceno","Paul Mackerras"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"259419","messageId":"1429114697-15926-1-git-send-email-ismael@iodev.co.uk","threadId":"39084","inReplyTo":null,"subject":"[PATCH] gitk: Allow to quickly go to a specific commit","fromName":"Ismael Luceno","fromEmail":"ismael@iodev.co.uk","sentAt":"2015-04-15T16:18:17Z","receivedAt":"2015-04-15T16:18:17Z","isPatch":true,"sender":{"key":"ismael@iodev.co.uk","avatar":"https://avatars.githubusercontent.com/u/426980?v=4"},"body":"Binds \"g\" to focus the sha1 entry box.\n\nSigned-off-by: Ismael Luceno <ismael@iodev.co.uk>\n---\n gitk | 2 ++\n 1 file changed, 2 insertions(+)\n\ndiff --git a/gitk b/gitk\nindex 9a2daf3..0e9d884 100755\n--- a/gitk\n+++ b/gitk\n@@ -2568,6 +2568,7 @@ proc makewindow {} {\n     bindkey b prevfile\n     bindkey d \"$ctext yview scroll 18 units\"\n     bindkey u \"$ctext yview scroll -18 units\"\n+    bindkey g {$sha1entry delete 0 end; focus $sha1entry}\n     bindkey / {focus $fstring}\n     bindkey <Key-KP_Divide> {focus $fstring}\n     bindkey <Key-Return> {dofind 1 1}\n@@ -3069,6 +3070,7 @@ proc keys {} {\n [mc \"<%s-F>\t\tFind\" $M1T]\n [mc \"<%s-G>\t\tMove to next find hit\" $M1T]\n [mc \"<Return>\tMove to next find hit\"]\n+[mc \"g\t\tGo to commit\"]\n [mc \"/\t\tFocus the search box\"]\n [mc \"?\t\tMove to previous find hit\"]\n [mc \"f\t\tScroll diff view to next file\"]\n-- \n2.3.4\n"},{"id":"261406","messageId":"20150517042442.GE21039@iris.ozlabs.ibm.com","threadId":"39084","inReplyTo":"1429114697-15926-1-git-send-email-ismael@iodev.co.uk","subject":"Re: [PATCH] gitk: Allow to quickly go to a specific commit","fromName":"Paul Mackerras","fromEmail":"paulus@samba.org","sentAt":"2015-05-17T04:24:42Z","receivedAt":"2015-05-17T04:24:42Z","isPatch":true,"sender":{"key":"paulus@samba.org","avatar":"https://avatars.githubusercontent.com/u/1606439?v=4"},"body":"On Wed, Apr 15, 2015 at 01:18:17PM -0300, Ismael Luceno wrote:\n> Binds \"g\" to focus the sha1 entry box.\n> \n> Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>\n\nThanks, applied (with some tweaks to the commit title and message).\n\nPaul.\n"}]}