Re: [BUGS] test failure in t4014-format-patch.sh with master
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Apr 18, 2008, 18:37 UTC
- Message-ID
- <alpine.LFD.1.10.0804181135540.2779@woody.linux-foundation.org>
- In-Reply-To
- <7vskxjj9rb.fsf@gitster.siamese.dyndns.org>
On Fri, 18 Apr 2008, Junio C Hamano wrote:
> > - (echo "$SUBJECT" ; echo ; cat "$dotest/msg") | > + (printf '%s\n' "$SUBJECT" ; echo ; cat "$dotest/msg") |
Well, get rid of the superfluous second 'echo' then too, replacing it with another '\n'. IOW:
( printf '%s\n\n' "$SUBJECT" ; cat "$dotest/msg" ) |
instead.
Linus