Code

git-gui: Remove unnecessary reshow of blamed commit
authorShawn O. Pearce <spearce@spearce.org>
Fri, 1 Jun 2007 07:33:28 +0000 (03:33 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 6 Jun 2007 05:26:45 +0000 (01:26 -0400)
Because we no longer redraw colors every time we select a particular
commit there is no need to redraw the screen after we get a new commit
in from blame --incremental.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/blame.tcl

index 4730c2b1ea9adbb4d90e817842541225ee23d45b..eaf2fb36f8891ec510a6eefe5249cb2d69575bd2 100644 (file)
@@ -354,12 +354,6 @@ method _read_blame {fd} {
                                        $w_cgrp insert $lno.0 "|\n"
                                }
                        }
-
-                       set hc $highlight_commit
-                       if {$hc ne {}
-                               && [expr {$order($hc) + 1}] == $order($cmit)} {
-                               _showcommit $this $highlight_line
-                       }
                } elseif {[regexp {^([a-z-]+) (.*)$} $line line key data]} {
                        set header($r_commit,$key) $data
                }