summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2d71bcc)
raw | patch | inline | side by side (parent: 2d71bcc)
author | Junio C Hamano <junkio@cox.net> | |
Sun, 11 Jun 2006 16:50:47 +0000 (09:50 -0700) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Sun, 11 Jun 2006 23:37:44 +0000 (09:37 +1000) |
The listrefs procedure was inadvertently removed during the course of
development, but there is still a user of it, so resurrect it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
development, but there is still a user of it, so resurrect it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index 9be10a43e603fcda952fde03254076f17275ed05..ba4644f450215682d7465ada26878d626f72fa00 100755 (executable)
--- a/gitk
+++ b/gitk
}
}
+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