Re: [PATCH v1] worktree: set worktree environment in post-checkout hook

2018-02-11 Thread Eric Sunshine
On Fri, Feb 9, 2018 at 8:01 PM, wrote: > In ade546be47 (worktree: invoke post-checkout hook (unless > --no-checkout), 2017-12-07) we taught Git to run the post-checkout hook > in worktrees. Unfortunately, the environment of the hook was not made > aware of the

Re: [PATCH v1] worktree: set worktree environment in post-checkout hook

2018-02-09 Thread Lars Schneider
> On 10 Feb 2018, at 02:01, lars.schnei...@autodesk.com wrote: > > From: Lars Schneider > > In ade546be47 (worktree: invoke post-checkout hook (unless > --no-checkout), 2017-12-07) we taught Git to run the post-checkout hook > in worktrees. Unfortunately, the

[PATCH v1] worktree: set worktree environment in post-checkout hook

2018-02-09 Thread lars . schneider
From: Lars Schneider In ade546be47 (worktree: invoke post-checkout hook (unless --no-checkout), 2017-12-07) we taught Git to run the post-checkout hook in worktrees. Unfortunately, the environment of the hook was not made aware of the worktree. Consequently, a 'git