| # git-gui branch (create/delete) support |
| # Copyright (C) 2006, 2007 Shawn Pearce |
| global some_heads_tracking |
| set rh_len [expr {[string length $rh] + 1}] |
| set fd [git_read for-each-ref --format=%(refname) $rh] |
| while {[gets $fd line] > 0} { |
| if {!$some_heads_tracking || ![is_tracking_branch $line]} { |
| lappend all_heads [string range $line $rh_len end] |
| return [lsort $all_heads] |
| set fd [git_read for-each-ref \ |
| while {[gets $fd line] > 0} { |
| if {![regsub ^refs/tags/ $line {} name]} continue |
| proc radio_selector {varname value args} { |