gitk: Add a menu option to start git gui
authorAlexander Gavrilov <angavrilov@gmail.com>
Thu, 13 Nov 2008 20:12:42 +0000 (23:12 +0300)
committerPaul Mackerras <paulus@samba.org>
Mon, 1 Dec 2008 22:43:12 +0000 (09:43 +1100)
Git gui already has menu commands to start gitk, and this makes the
relation symmetric.

[paulus@samba.org - changed "Git Gui" in the menu item to "git gui"]

Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk

diff --git a/gitk b/gitk
index b8b5e80927102cc75e27fddc65b31585d3e67a45..64a873d2efae0496c0485a6051c4fdd21e190634 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -1911,6 +1911,9 @@ proc makewindow {} {
            {mc "Reload" command reloadcommits -accelerator Meta1-F5}
            {mc "Reread references" command rereadrefs}
            {mc "List references" command showrefs -accelerator F2}
+           {xx "" separator}
+           {mc "Start git gui" command {exec git gui &}}
+           {xx "" separator}
            {mc "Quit" command doquit -accelerator Meta1-Q}
        }}
        {mc "Edit" cascade {