From: Junio C Hamano Date: Wed, 28 Jan 2009 08:26:17 GMT Subject: Re: [PATCH] Windows: Fix intermittent failures of t7701 Message-ID: <7v3af3vnti.fsf@gitster.siamese.dyndns.org> In-Reply-To: <498008BA.2000201@viscovery.net> Johannes Sixt writes: > Johannes Schindelin schrieb: >> I use this trick in my valgrind series: >> >> ($PROGRAM; echo $? > exit.code) | $OTHER_PROGRAM && >> test 0 = "$(cat exit.code)" > > Ah, using a file as temporary storage? Why not simply > > $PROGRAM > data && > $OTHER_PROGRAM < data > > Hm? ;) Because too much cleverness often blinds clever minds. Care to reroll with the simpler, dumber but clearer version?