p5302: create repositories for index-pack results explicitly
commitc86000c1a7499541221fe087514299579895e807
authorRené Scharfe <l.s.r@web.de>
Sun, 5 Feb 2017 11:43:29 +0000 (5 12:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Feb 2017 18:55:25 +0000 (6 10:55 -0800)
treee888c19465bcf427fa98634434555880282db513
parent29401e15754518a0e63e00d6cabc5a5f2f9b0973
p5302: create repositories for index-pack results explicitly

Before 7176a314 (index-pack: complain when --stdin is used outside of a
repo) index-pack silently created a non-existing target directory; now
the command refuses to work unless it's used against a valid repository.
That causes p5302 to fail, which relies on the former behavior.  Fix it
by setting up the destinations for its performance tests using git init.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/p5302-pack-index.sh