File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10238,15 +10238,15 @@ proc refill_reflist {} {
1023810238 if {![ string match " remotes/*" $n ] && [ string match $reflistfilter $n ] } {
1023910239 if {[ commitinview $headids($n) $curview ] } {
1024010240 lappend localrefs [ list $n H]
10241- if {[ info exists upstreamofref($n )] } {
10241+ if {[ info exists upstreamofref($n )] && [ commitinview $headids($upstreamofref($n) ) $curview ] } {
1024210242 lappend trackedremoterefs [ list $upstreamofref($n) R]
1024310243 }
1024410244 } else {
1024510245 interestedin $headids($n) {run refill_reflist}
1024610246 }
1024710247 }
1024810248 }
10249- set trackedremoterefs [ lsort -index 0 $trackedremoterefs ]
10249+ set trackedremoterefs [ lsort -index 0 -unique $trackedremoterefs ]
1025010250 set localrefs [ lsort -index 0 $localrefs ]
1025110251
1025210252 foreach n [ array names headids] {
You can’t perform that action at this time.
0 commit comments