[PATCH] git-gui: Append ampersand to Target of lnk files created by do_cygwin_shortcut.
- From
Phil Lawrence <prlawrence@gmail.com>
- Date
- Mar 9, 2009, 17:22 UTC
- Message-ID
- <530ac78e0903091022s2585231br9ef11d91851250f4@mail.gmail.com>
First post here. First patch, too, so hoping I've invoked git format-patch correctly...
>From 5fddc9b7bfa0dfb8d2c1c0eb59ae9208ff72540d Mon Sep 17 00:00:00 2001
From: Phil Lawrence <prlawrence@gmail.com> Date: Thu, 5 Mar 2009 17:56:58 -0600 Subject: [PATCH] Append ampersand to Target of lnk files created by do_cygwin_shortcut. Allows shell window to close after starting Git GUI as a background process.
--- lib/shortcut.tcl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/shortcut.tcl b/lib/shortcut.tcl index 38c3151..2f20eb3 100644 --- a/lib/shortcut.tcl +++ b/lib/shortcut.tcl @@ -54,7 +54,7 @@ proc do_cygwin_shortcut {} { $argv0] win32_create_lnk $fn [list \ $sh -c \ - "CHERE_INVOKING=1 source /etc/profile;[sq $me]" \ + "CHERE_INVOKING=1 source /etc/profile;[sq $me] &" \ ] \ [file dirname [file normalize [gitdir]]] } err]} { -- 1.6.1.9.g97c34 Regards, Phil Lawrence