Re: [PATCH 2/3] perf: make the tests work in worktrees

2016-05-11 Thread Johannes Schindelin
Hi Junio, On Tue, 10 May 2016, Junio C Hamano wrote: > Johannes Schindelin writes: > > > diff --git a/t/perf/perf-lib.sh b/t/perf/perf-lib.sh > > index e9020d0..e5682f7 100644 > > --- a/t/perf/perf-lib.sh > > +++ b/t/perf/perf-lib.sh > > @@ -80,22 +80,22 @@ test_perf_create_repo_from () { > >

Re: [PATCH 2/3] perf: make the tests work in worktrees

2016-05-10 Thread Junio C Hamano
Johannes Schindelin writes: > This patch makes perf-lib.sh more robust so that it can run correctly > even inside a worktree. For example, it assumed that $GIT_DIR/objects is > the objects directory (which is not the case for worktrees) and it used > the commondir file verbatim, even if it contai

[PATCH 2/3] perf: make the tests work in worktrees

2016-05-10 Thread Johannes Schindelin
This patch makes perf-lib.sh more robust so that it can run correctly even inside a worktree. For example, it assumed that $GIT_DIR/objects is the objects directory (which is not the case for worktrees) and it used the commondir file verbatim, even if it contained a relative path. Signed-off-by: J