Re: [PATCH 04/11] worktree: extract checkout_worktree()
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Feb 20, 2022, 21:59 UTC
- Message-ID
- <YhK5zM4NHhUpLPMJ@nand.local>
- In-Reply-To
- <1e62e4e4fa1a543ad134d70d97740cac5826e587.1645379667.git.gitgitgadget@gmail.com>
On Sun, Feb 20, 2022 at 05:54:20PM +0000, Derrick Stolee via GitGitGadget wrote:
Show 6 quoted lines
> From: Derrick Stolee <derrickstolee@github.com> > > 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 <the-patch> --color-moved-ws=ignore-all-space --color-moved
and it was clear that all of the existing functionality was preserved.
Thanks, Taylor