Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Sparse checkout support #2263

Open
Open
@jspahrsummers

Description

@jspahrsummers

A user can set core.sparsecheckout to true, then populate .git/info/sparse-checkout with the specific subtrees that should be checked out. See http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/ for a basic explanation.

I don't know whether it makes sense for libgit2 to support this in its own checkout operations, but sparse checkouts should be taken into consideration for diffs and status (in that omitted subtrees should not appear).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions