From: Taylor Blau Date: Sun, 20 Feb 2022 21:59:40 GMT Subject: Re: [PATCH 04/11] worktree: extract checkout_worktree() Message-ID: In-Reply-To: <1e62e4e4fa1a543ad134d70d97740cac5826e587.1645379667.git.gitgitgadget@gmail.com> On Sun, Feb 20, 2022 at 05:54:20PM +0000, Derrick Stolee via GitGitGadget wrote: > From: Derrick Stolee > > The ability to add the --no-checkout flag to 'git worktree' was added in > ef2a0ac9a0 (worktree: add: introduce --checkout option, 2016-03-29). > Recently, we noticed that add_worktree() is rather complicated, so > extract the logic for this checkout process to simplify the method. Thanks; all of these "worktree: extract ..." patches look fine to me. I reviewed them locally with: $ git show --color-moved-ws=ignore-all-space --color-moved and it was clear that all of the existing functionality was preserved. Thanks, Taylor