From: Eric Sunshine <sunshine@sunshineco.com>
To: git@jessiehernandez.co
Cc: git@jessiehernandez.com, Git List <git@vger.kernel.org>
Subject: Re: Creating sparse checkout in a new linked git worktree
Date: Tue, 30 Jan 2018 14:00:48 -0500 [thread overview]
Message-ID: <CAPig+cRiyterpyJfayVmA5Ra_zzyVp6GGSNqe2Tx-Hrrif+U8A@mail.gmail.com> (raw)
In-Reply-To: <615c04025165d0dff9d6e6b66bf11a41.squirrel@mail.jessiehernandez.com>
On Tue, Jan 30, 2018 at 9:25 AM, Jessie Hernandez
<git@jessiehernandez.com> wrote:
>> The sparse-checkout file is specific to each worktree, which allows you
> to control "sparsity" on a worktree by worktree basis. Therefore, you
> should create $GIT_DIR/worktrees/<id>/info/sparse-checkout instead
> (where <id> is "new-branch" in your example).
>
> Would it help if this was added to the documentation of git-read-tree
It probably would. Would you be interested in submitting a patch
(mentioning 'git rev-parse --git-path info/sparse-checkout', as
suggested by Duy)?
next prev parent reply other threads:[~2018-01-30 19:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-30 14:25 Creating sparse checkout in a new linked git worktree Jessie Hernandez
2018-01-30 19:00 ` Eric Sunshine [this message]
2018-01-31 10:03 ` Jessie Hernandez
-- strict thread matches above, loose matches on Subject: below --
2018-01-24 16:11 Jessie Hernandez
2018-01-28 7:25 ` Eric Sunshine
2018-01-28 9:40 ` Duy Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPig+cRiyterpyJfayVmA5Ra_zzyVp6GGSNqe2Tx-Hrrif+U8A@mail.gmail.com \
--to=sunshine@sunshineco.com \
--cc=git@jessiehernandez.co \
--cc=git@jessiehernandez.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).