summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-06 16:28:31 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-06 17:19:39 (GMT)
commitf5b749560980a30d7472183e3d6360baa5a1f0d5 (patch)
tree917724a3ffb72d31272b44157edddde8d44b5029
parent15e02b372ddebd2aac829707786462798f91d509 (diff)
downloadgit-f5b749560980a30d7472183e3d6360baa5a1f0d5.zip
git-f5b749560980a30d7472183e3d6360baa5a1f0d5.tar.gz
git-f5b749560980a30d7472183e3d6360baa5a1f0d5.tar.bz2
gitk proposed fix: handle more than one SHA1 links.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-xgitk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitk b/gitk
index 59cdd85..63369f0 100755
--- a/gitk
+++ b/gitk
@@ -1802,6 +1802,7 @@ proc selectline {l isnew} {
set linkid [string range $comment $s $e]
if {![info exists idline($linkid)]} continue
incr e
+ incr i
$ctext tag conf link$i -foreground blue -underline 1
$ctext tag add link$i "$commentstart + $s c" "$commentstart + $e c"
$ctext tag bind link$i <1> [list selectline $idline($linkid) 1]