summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-06-01 07:33:28 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-06-06 05:26:45 (GMT)
commit8154e1a624cd768aada2565857151e6032b42a8c (patch)
treeeb4ee4cd1afde1e80e8c148bba49e138ce333ea6 /lib
parent74fe89857807c2194b1c202b4e429289d777ecb2 (diff)
downloadgit-8154e1a624cd768aada2565857151e6032b42a8c.zip
git-8154e1a624cd768aada2565857151e6032b42a8c.tar.gz
git-8154e1a624cd768aada2565857151e6032b42a8c.tar.bz2
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/blame.tcl6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/blame.tcl b/lib/blame.tcl
index 4730c2b..eaf2fb3 100644
--- a/lib/blame.tcl
+++ b/lib/blame.tcl
@@ -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
}