On Tue, Jun 14, 2011 at 11:53 AM, Michael Olbrich
<m.olbr...@pengutronix.de> wrote:
> On Tue, Jun 14, 2011 at 10:36:42AM -0400, Jon Ringle wrote:
>> On Tue, Jun 14, 2011 at 6:01 AM, Michael Olbrich
>> <m.olbr...@pengutronix.de> wrote:
>> > Signed-off-by: Michael Olbrich <m.olbr...@pengutronix.de>
>> > +if git format-patch -h | grep -q signature; then
>> > +       GIT_EXTRA_ARGS="--no-signature"
>> > +fi
>> Some manual testing of 'git format-patch -h' has output going to
>> stderr rather than stdout... Does it work for you?
>
> Yes, 'git format-patch -h | grep -q signature' gives me no output and the
> correct return value. So that changed too? would this be better:
>
> if git format-patch -h 2>&1 | grep -q signature; then

Yes. That works better :)

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to