Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge git://git.kernel.org/pub/scm/gitk/gitk
author
Junio C Hamano
<junkio@cox.net>
Tue, 13 Jun 2006 17:53:41 +0000
(10:53 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 13 Jun 2006 17:53:41 +0000
(10:53 -0700)
* git://git.kernel.org/pub/scm/gitk/gitk:
[PATCH] gitk: rereadrefs needs listrefs
gitk
patch
|
blob
|
history
raw
(from parent 1:
41292dd
)
diff --git
a/gitk
b/gitk
index 9be10a43e603fcda952fde03254076f17275ed05..ba4644f450215682d7465ada26878d626f72fa00 100755
(executable)
--- 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