From: Junio C Hamano Date: Wed, 15 Jun 2011 23:55:57 GMT Subject: Re: [PATCH 7/7] archive: provide builtin .tar.gz filter Message-ID: <7vboxyir8y.fsf@alter.siamese.dyndns.org> In-Reply-To: <20110615223501.GG16807@sigill.intra.peff.net> Jeff King writes: > +test_expect_success 'git archive --format=tgz' ' > + git archive --format=tgz HEAD >j.tgz > +' > + > +test_expect_success 'infer tgz from .tgz filename' ' > + git archive --output=j1.tgz HEAD && > + test_cmp j.tgz j1.tgz > +' I suspect this would get intermittent failures for the same reason as 0c8c385 (gitweb: supply '-n' to gzip for identical output, 2011-04-26)