Thread (3 messages) flat view 3 messages, 2 authors, 2018-01-31

Re: Creating sparse checkout in a new linked git worktree

From: Jessie Hernandez <hidden>
Date: 2018-01-31 10:04:21

On Tue, Jan 30, 2018 at 9:25 AM, Jessie Hernandez
[off-list ref] wrote:
quoted
quoted
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)?
Sure. I will give it a try.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help