From: Junio C Hamano Date: Mon, 10 Mar 2008 21:33:04 GMT Subject: Re: [PATCH] launch_editor(): allow spaces in the filename Message-ID: <7vod9mi7sf.fsf@gitster.siamese.dyndns.org> In-Reply-To: Johannes Schindelin writes: > For some reason, the construct > > sh -c "$0 \"$@\"" > > does not pick up quotes in as expected. So replace $0 with > . That's not "for some reason" but "I am asking shell to split", and sh -c '"$@"' ignoreme ... would work better ;-).