mirror of
https://github.com/git/git.git
synced 2026-03-13 10:23:30 +01:00
Merge with gitk-show-ref
This commit is contained in:
4
gitk
4
gitk
@@ -309,9 +309,9 @@ proc readrefs {} {
|
||||
foreach v {tagids idtags headids idheads otherrefids idotherrefs} {
|
||||
catch {unset $v}
|
||||
}
|
||||
set refd [open [list | git peek-remote [gitdir]] r]
|
||||
set refd [open [list | git show-ref] r]
|
||||
while {0 <= [set n [gets $refd line]]} {
|
||||
if {![regexp {^([0-9a-f]{40}) refs/([^^]*)$} $line \
|
||||
if {![regexp {^([0-9a-f]{40}) refs/([^^]*)$} $line \
|
||||
match id path]} {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user