diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2006-11-25 02:47:18 -0500 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2006-11-25 02:47:18 -0500 |
commit | 2171bf4b44884fd75bc5c1c412a39c2d4e645453 (patch) | |
tree | 04d9351d61f4723c4c9fe8f9b6787e1d55cd4af4 /git-gui | |
parent | d90d83a3a95e5fb4672906589ac0a19c19f1187b (diff) | |
download | git-2171bf4b44884fd75bc5c1c412a39c2d4e645453.tar.gz |
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>
Diffstat (limited to 'git-gui')
-rwxr-xr-x | git-gui | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |