diff options
| author | Michael Rappazzo <michael.rappazzo@infor.com> | 2025-07-31 07:53:21 -0400 |
|---|---|---|
| committer | Michael Rappazzo <michael.rappazzo@infor.com> | 2025-07-31 08:32:49 -0400 |
| commit | 9965cc771b6b43a8852a4950a196180f2c616891 (patch) | |
| tree | 02c4f8df61b03d219b94362140d053747c84862e /gitk | |
| parent | b28119551bc06986bdc9048ee30393b6b9b20c5f (diff) | |
| download | git-9965cc771b6b43a8852a4950a196180f2c616891.tar.xz | |
gitk: filter invisible upstream refs from reference list
In refill_reflist, upstream refs are now only included if their
commits are visible in the current view. This prevents display
issues like multiple highlighted branches when clicking entries.
Signed-off-by: Michael Rappazzo <michael.rappazzo@infor.com>
Diffstat (limited to 'gitk')
| -rwxr-xr-x | gitk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10332,7 +10332,7 @@ proc refill_reflist {} { if {![string match "remotes/*" $n] && [string match $reflistfilter $n]} { if {[commitinview $headids($n) $curview]} { lappend localrefs [list $n H] - if {[info exists upstreamofref($n)]} { + if {[info exists upstreamofref($n)] && [commitinview $headids($upstreamofref($n)) $curview]} { lappend trackedremoterefs [list $upstreamofref($n) R] } } else { |
