From: Avi Kivity Date: Wed, 02 Jul 2014 13:54:12 GMT Subject: Re: [PATCH v2] git-am: add option to extract email Message-Id: tag into commit log Message-ID: <53B40F04.8000304@cloudius-systems.com> In-Reply-To: <53B3D7AB.6090207@web.de> On 07/02/2014 12:58 PM, Torsten Bögershausen wrote: >> @@ -757,6 +761,10 @@ To restore the original branch and stop patching run \"\$cmdline --abort\"." >> then >> cat "$dotest/msg-clean" >> fi >> + if test 't' == "$message_id" > The == is bash special, please use = instead > And the 't' can be written as t, so that the whole line looks like this: > if test t = "$message_id" > Thanks. v3 posted with these changes.