X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=gitk;h=ba4644f450215682d7465ada26878d626f72fa00;hb=2e1ded44f709ddc95c5e8a87e0d98127979115fe;hp=9be10a43e603fcda952fde03254076f17275ed05;hpb=2d71bcccc81e3569d97dd1314c3ca0f080f4a70f;p=git.git diff --git a/gitk b/gitk index 9be10a43..ba4644f4 100755 --- a/gitk +++ b/gitk @@ -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