diff options
Diffstat (limited to 'git-gui')
-rwxr-xr-x | git-gui | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -266,7 +266,7 @@ proc repository_state {ctvar hdvar mhvar} { if {[catch {set current_branch [exec git symbolic-ref HEAD]}]} { set current_branch {} } else { - regsub ^refs/(heads|tags)/ \ + regsub ^refs/((heads|tags|remotes)/)? \ $current_branch \ {} \ current_branch |