summaryrefslogtreecommitdiff
path: root/git-gui
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2006-11-25 07:47:18 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2006-11-25 07:47:18 (GMT)
commit2171bf4b44884fd75bc5c1c412a39c2d4e645453 (patch)
tree04d9351d61f4723c4c9fe8f9b6787e1d55cd4af4 /git-gui
parentd90d83a3a95e5fb4672906589ac0a19c19f1187b (diff)
downloadgit-2171bf4b44884fd75bc5c1c412a39c2d4e645453.zip
git-2171bf4b44884fd75bc5c1c412a39c2d4e645453.tar.gz
git-2171bf4b44884fd75bc5c1c412a39c2d4e645453.tar.bz2
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 48e781d..9bfed1f 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