git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Append ampersand to "Target" of lnk files created by do_cygwin_shortcut

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 9, 2009, 23:23 UTC
Message-ID
<20090309232300.GK11989@spearce.org>
In-Reply-To
<530ac78e0903091509y5209dec9q4c716d1e400357f3@mail.gmail.com>
Phil Lawrence <prlawrence@gmail.com> wrote:
Show 10 quoted lines
> From 0780db8d53bdd0bb02b154d23c3c80bcccc0d955 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
> 
> The git-gui menu item "Repository | Create Desktop Icon" creates a
> shortcut (.lnk file) on the Windows desktop.  The purpose of the
> created shortcut is to make it easy for a user to launch git-gui
> for a particular repo in the future.
Thanks.  The patch was white space damaged, but being only 2
characters it was easier for me to just redo the change than
to ask you to resend the patch.
 
Show 11 quoted lines
> @@ -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]} {
-- 
Shawn.
Previous: Phil Lawrence
Message 2 of 2 in “Append ampersand to "Target" of lnk files created by do_cygwin_shortcut”
  1. Append ampersand to "Target" of lnk files created by do_cygwin_shortcutPhil Lawrence, Mar 9, 2009
  2. Shawn O. PearceMar 9, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.