Thread (7 messages) flat view 7 messages, 2 authors, 2016-06-15
DORMANTno replies

Revision v2 of 2 in this series.

Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH (GIT-GUI) v2 0/5] Add a customizable Tools menu.

From: Alexander Gavrilov <hidden>
Date: 2016-06-15 22:45:39

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(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help