@matheusbsbs / matheus-bagliano / commits / 8154e1a624
Fork 0

git-gui: Remove unnecessary reshow of blamed commit

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>

Shawn O. Pearce committed Jun 1, 2007 at 03:33 UTC 8154e1a624cd768aada2565857151e6032b42a8c
1 file changed -6
lib/blame.tcl
-6
@@ -354,12 +354,6 @@ method _read_blame {fd} {
354 $w_cgrp insert $lno.0 "|\n"
355 }
356 }
357 -
358 - set hc $highlight_commit
359 - if {$hc ne {}
360 - && [expr {$order($hc) + 1}] == $order($cmit)} {
361 - _showcommit $this $highlight_line
362 - }
357 } elseif {[regexp {^([a-z-]+) (.*)$} $line line key data]} {
358 set header($r_commit,$key) $data
359 }