Re: [PATCH 3/4] set_work_tree: use chdir_notify
From: Jeff King <hidden>
Date: 2018-03-29 17:50:47
From: Jeff King <hidden>
Date: 2018-03-29 17:50:47
On Thu, Mar 29, 2018 at 07:23:17PM +0200, Duy Nguyen wrote:
On Thu, Mar 29, 2018 at 7:02 PM, Duy Nguyen [off-list ref] wrote:quoted
... It's less code this way, but it uses up more of your (or my) time because even though the first set_git_dir() call actually happens at 8 places. Is it worth trying ?Never mind. I took a stab anyway. The setup code should have much less side effect before we can do stuff like this.
Oh, I should have read this before responding. Oh well. :) -Peff