aboutsummaryrefslogtreecommitdiff
path: root/gitk
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-08-06 09:28:31 -0700
committerJunio C Hamano <junkio@cox.net>2005-08-06 10:19:39 -0700
commitf5b749560980a30d7472183e3d6360baa5a1f0d5 (patch)
tree917724a3ffb72d31272b44157edddde8d44b5029 /gitk
parent15e02b372ddebd2aac829707786462798f91d509 (diff)
downloadgit-f5b749560980a30d7472183e3d6360baa5a1f0d5.tar.gz
git-f5b749560980a30d7472183e3d6360baa5a1f0d5.tar.xz
gitk proposed fix: handle more than one SHA1 links.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'gitk')
-rwxr-xr-xgitk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitk b/gitk
index 59cdd853e..63369f0ac 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]