Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: Remove unnecessary reshow of blamed commit
author
Shawn O. Pearce
<spearce@spearce.org>
Fri, 1 Jun 2007 07:33:28 +0000
(
03:33
-0400)
committer
Shawn 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
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
74fe898
)
diff --git
a/lib/blame.tcl
b/lib/blame.tcl
index 4730c2b1ea9adbb4d90e817842541225ee23d45b..eaf2fb36f8891ec510a6eefe5249cb2d69575bd2 100644
(file)
--- 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
}