perf: make the tests work without a worktree
commite2522f2acaec35130520f76c36c711b2011ed310
authorRené Scharfe <l.s.r@web.de>
Sun, 29 May 2016 16:43:41 +0000 (29 18:43 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 May 2016 20:44:59 +0000 (31 13:44 -0700)
tree4aa13e7653a3319e8573e0eb467768499a7d8ff8
parente4cfe74cd083c15947f57760d05d0e286a585afc
perf: make the tests work without a worktree

In regular repositories $source_git and $objects_dir contain relative
paths based on $source.  Go there to allow cp to resolve them.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/perf-lib.sh