X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gitk;h=db28d745dc005722ff3d7c071aeb37f9fd4fdc21;hb=957d6ea78fcbe71481a6f46a58768e100f7908e0;hp=9ddff3e7f7b011564c56fb619f57bed66d875f7e;hpb=3ed02de2f46105cbc45fcc8f3287513f470eb4a3;p=git.git diff --git a/gitk b/gitk index 9ddff3e7f..db28d745d 100755 --- a/gitk +++ b/gitk @@ -720,6 +720,7 @@ proc makewindow {} { bindkey {findnext 0} bindkey ? findprev bindkey f nextfile + bindkey updatecommits bind . doquit bind . dofind bind . {findnext 0} @@ -985,6 +986,7 @@ f Scroll diff view to next file Increase font size Decrease font size Decrease font size + Update } \ -justify left -bg white -border 2 -relief sunken pack $w.m -side top -fill both @@ -1904,7 +1906,7 @@ proc do_file_hl {serial} { } else { set gdtargs [list "-S$highlight_files"] } - set cmd [concat | git-diff-tree -r -s --stdin $gdtargs] + set cmd [concat | git diff-tree -r -s --stdin $gdtargs] set filehighlight [open $cmd r+] fconfigure $filehighlight -blocking 0 fileevent $filehighlight readable readfhighlight @@ -1956,7 +1958,7 @@ proc readfhighlight {} { } if {[eof $filehighlight]} { # strange... - puts "oops, git-diff-tree died" + puts "oops, git diff-tree died" catch {close $filehighlight} unset filehighlight }