summaryrefslogtreecommitdiff
path: root/git-gui.sh
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-07-04 03:33:59 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-07-09 01:12:47 (GMT)
commit3206c63d0a365b11a430225a31f6a673f7645c25 (patch)
tree6672c7f03ba361076aac497d131e476711a82317 /git-gui.sh
parentb1fa2bfff36933f94dada476ba5b3d3cb894b723 (diff)
downloadgit-3206c63d0a365b11a430225a31f6a673f7645c25.zip
git-3206c63d0a365b11a430225a31f6a673f7645c25.tar.gz
git-3206c63d0a365b11a430225a31f6a673f7645c25.tar.bz2
git-gui: Refactor the delete branch dialog to use class system
A simple refactoring of the delete branch dialog to allow use of the class construct to better organize the code and to reuse the revision selection code of our new choose_rev mega-widget. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-gui.sh')
-rwxr-xr-xgit-gui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gui.sh b/git-gui.sh
index e07f4ba..63b2045 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -1507,7 +1507,7 @@ if {[is_enabled branch]} {
[.mbar.branch index last] -state]
.mbar.branch add command -label {Delete...} \
- -command do_delete_branch
+ -command branch_delete::dialog
lappend disable_on_lock [list .mbar.branch entryconf \
[.mbar.branch index last] -state]