From: Eric Sunshine Date: Tue, 13 Feb 2018 07:34:33 GMT Subject: Re: [PATCH 2/2] worktree: add: change to new worktree directory before running hook Message-ID: In-Reply-To: On Tue, Feb 13, 2018 at 2:27 AM, Johannes Sixt wrote: > Am 12.02.2018 um 04:15 schrieb Eric Sunshine: >> + echo $_z40 $(git rev-parse HEAD) 1 && >> + echo $(pwd)/gumby > > $(pwd) is here and in the other tests correct. $PWD would be wrong on > Windows. Thanks for being considerate. Thanks for the confirmation. I'm always a bit leery of using "pwd" in tests due to Windows concerns; doubly so since I don't have a Windows installation on which to test it.