aboutsummaryrefslogtreecommitdiff
path: root/git-gui
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2006-11-25 02:47:18 -0500
committerShawn O. Pearce <spearce@spearce.org>2006-11-25 02:47:18 -0500
commit2171bf4b44884fd75bc5c1c412a39c2d4e645453 (patch)
tree04d9351d61f4723c4c9fe8f9b6787e1d55cd4af4 /git-gui
parentd90d83a3a95e5fb4672906589ac0a19c19f1187b (diff)
downloadgit-2171bf4b44884fd75bc5c1c412a39c2d4e645453.tar.gz
git-2171bf4b44884fd75bc5c1c412a39c2d4e645453.tar.xz
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-xgit-gui6
1 files changed, 5 insertions, 1 deletions
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