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

2016-05-13 Thread Johannes Schindelin
Hi Eric, On Wed, 11 May 2016, Eric Sunshine wrote: > On Wed, May 11, 2016 at 4:42 AM, Johannes Schindelin > wrote: > > 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 (whi

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

2016-05-11 Thread Eric Sunshine
On Wed, May 11, 2016 at 4:42 AM, Johannes Schindelin wrote: > 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 f

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

2016-05-11 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. Furthermore, the