git-gui: Abort on not implemented branch switching.
I'm not currently ready to implement branch switching, so I'm just going to punt on it for now. :-) Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
6
git-gui
6
git-gui
@ -1634,7 +1634,7 @@ proc populate_branch_menu {m} {
|
|||||||
foreach b $all_branches {
|
foreach b $all_branches {
|
||||||
$m add radiobutton \
|
$m add radiobutton \
|
||||||
-label $b \
|
-label $b \
|
||||||
-command [list do_switch_branch $b] \
|
-command [list switch_branch $b] \
|
||||||
-variable current_branch \
|
-variable current_branch \
|
||||||
-value $b \
|
-value $b \
|
||||||
-font font_ui
|
-font font_ui
|
||||||
@ -1643,6 +1643,10 @@ proc populate_branch_menu {m} {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
proc switch_branch {b} {
|
||||||
|
error "NOT IMPLEMENTED"
|
||||||
|
}
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
##
|
##
|
||||||
## remote management
|
## remote management
|
||||||
|
Reference in New Issue
Block a user