From: Alexander Gavrilov Date: Sun, 16 Nov 2008 18:46:46 GMT Subject: [PATCH (GIT-GUI) v2 0/5] Add a customizable Tools menu. Message-ID: <1226861211-16995-1-git-send-email-angavrilov@gmail.com> This series adds a customizable Tools menu, that can be used to call any external commands from Git Gui. It reduces the inconvenience of using tools like git-svn with GUI, by removing the need to jump between the terminal and the GUI even for simple actions. QGit already has a similar feature. UPDATES: 1) Tweaked some of the text strings to make UI look better. 2) Added auto-rescan functionality. Sorry for sending an incomplete WIP version 3 days ago. SUMMARY: git-gui.sh | 70 +++++++-- lib/diff.tcl | 6 +- lib/option.tcl | 12 +- lib/tools.tcl | 159 ++++++++++++++++++++ lib/tools_dlg.tcl | 421 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 643 insertions(+), 25 deletions(-) PATCHES: git-gui: Implement system-wide configuration handling. --- git-gui.sh | 12 +++++++++--- lib/option.tcl | 12 ++++++------ 2 files changed, 15 insertions(+), 9 deletions(-) (NEW) git-gui: Fix the after callback execution in rescan. --- git-gui.sh | 41 ++++++++++++++++++++++++++++------------- lib/diff.tcl | 6 +++--- 2 files changed, 31 insertions(+), 16 deletions(-) git-gui: Add a Tools menu for arbitrary commands. --- git-gui.sh | 17 ++++ lib/tools.tcl | 108 ++++++++++++++++++++++++ lib/tools_dlg.tcl | 234 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 359 insertions(+), 0 deletions(-) create mode 100644 lib/tools.tcl create mode 100644 lib/tools_dlg.tcl git-gui: Allow Tools request arguments from the user. --- lib/tools.tcl | 13 +++- lib/tools_dlg.tcl | 195 +++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 203 insertions(+), 5 deletions(-) (NEW) git-gui: Implement automatic rescan after Tool execution. --- lib/tools.tcl | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 42 insertions(+), 2 deletions(-)