From: Eric Sunshine Date: Tue, 03 Apr 2018 08:47:20 GMT Subject: Re: Test t2028 failes Message-ID: In-Reply-To: <6d28dbb1-0c4c-6fca-555c-afb6c1c9e781@frm2.tum.de> On Tue, Apr 3, 2018 at 4:42 AM, Jens Krüger wrote: > Maybe, the attached patch may help. On my machine(s) it helped. > git worktree list --porcelain >out && > grep "^worktree.*/destination" out && > - ! grep "^worktree.*/source" out && > + ! grep "^worktree.*/source$" out && Our emails crossed. I suggested the same in my response (although I'd add the '$' anchor to both grep's, not just the one).