diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-17 17:08:36 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-17 17:08:36 -0700 |
commit | fc5201ac9f17abf8b70b248b17595f3f3d35c056 (patch) | |
tree | 59d1b7aa95bddfce3c535e8a3c752ef9298ff632 /gitk | |
parent | Merge branch 'master' into next (diff) | |
parent | diff options: add --color (diff) | |
download | tgif-fc5201ac9f17abf8b70b248b17595f3f3d35c056.tar.xz |
Merge branch 'js/diff'
Diffstat (limited to 'gitk')
-rwxr-xr-x | gitk | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -5196,6 +5196,24 @@ proc rereadrefs {} { } } +proc listrefs {id} { + global idtags idheads idotherrefs + + set x {} + if {[info exists idtags($id)]} { + set x $idtags($id) + } + set y {} + if {[info exists idheads($id)]} { + set y $idheads($id) + } + set z {} + if {[info exists idotherrefs($id)]} { + set z $idotherrefs($id) + } + return [list $x $y $z] +} + proc showtag {tag isnew} { global ctext tagcontents tagids linknum |