From: Shawn O. Pearce Date: Sat, 25 Nov 2006 07:47:18 +0000 (-0500) Subject: git-gui: Abort on not implemented branch switching. X-Git-Tag: gitgui-0.6.0~154 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2171bf4b44884fd75bc5c1c412a39c2d4e645453;p=git.git 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 --- diff --git a/git-gui b/git-gui index 48e781dd3..9bfed1f6a 100755 --- a/git-gui +++ b/git-gui @@ -1634,7 +1634,7 @@ proc populate_branch_menu {m} { foreach b $all_branches { $m add radiobutton \ -label $b \ - -command [list do_switch_branch $b] \ + -command [list switch_branch $b] \ -variable current_branch \ -value $b \ -font font_ui @@ -1643,6 +1643,10 @@ proc populate_branch_menu {m} { } } +proc switch_branch {b} { + error "NOT IMPLEMENTED" +} + ###################################################################### ## ## remote management