Skip to content

Commit

Permalink
Merge git://git.kernel.org/pub/scm/gitk/gitk
Browse files Browse the repository at this point in the history
* git://git.kernel.org/pub/scm/gitk/gitk:
  [PATCH] gitk: rereadrefs needs listrefs
  • Loading branch information
Junio C Hamano committed Jun 13, 2006
2 parents 41292dd + 2e1ded4 commit b642d9e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions gitk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b642d9e

Please sign in to comment.