Re: [PATCH v2] worktree: add: introduce --checkout option
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Mar 24, 2016, 09:16 UTC
- Message-ID
- <CACsJy8DxcqYKrRi7_ERS3xLWfbbq3bNx-u2NWiXYoNw4yD+0dg@mail.gmail.com>
- In-Reply-To
- <01020153a73bbb70-11a8482f-1a90-49e4-a56c-b311e12a85a2-000000@eu-west-1.amazonses.com>
On Thu, Mar 24, 2016 at 1:07 PM, Ray Zhang <zhanglei002@gmail.com> wrote:
> By adding this option which defaults to true, we can use the > corresponding --no-checkout to make some customizations before > the checkout, like sparse checkout, etc.
I think we can follow git-clone and use '-n' for this. But if it's sparse checkout that's you're after, be warned that it's not fully supported (you either enable sparse chekcuot for all worktrees, or none).
-- Duy