From: Jeff King Date: Thu, 04 Dec 2008 18:51:38 GMT Subject: Re: [PATCH] Allow passing of --directory to git-am. Message-ID: <20081204185138.GA24858@coredump.intra.peff.net> In-Reply-To: <49382612.3010207@fs.ei.tum.de> On Thu, Dec 04, 2008 at 07:48:50PM +0100, Simon 'corecode' Schubert wrote: > Boyd Stephen Smith Jr. wrote: > > I'm thinking your sed line doesn't do what you think it does. You > probably > > want something like: > > bss@monster:~$ echo "don't" | sed -e "s/'/'\\\\''/g" > > don'\''t > > Thanks, I clearly did not test this well enough. Maybe it would be a good idea to add a test to the test script, then? -Peff