Skip to content

Changes to 'sparse_paths' are not reflected on subsequent installs #265

@holdenrehg

Description

@holdenrehg

There was something pointed out in Issue #218 that I ran into today:

Updating sparse_paths entries
It looks like at the moment the sparse_paths entries are only written during the initial cloning. So if we later decide we need more files from a repo, we can not simply update the gitman.yml file and do an update, we need to either delete the repo first, or manually update the sparse-checkout file.

I'm not sure if this is expected behavior or not. It doesn't feel too natural that updating sparse_paths and then re-running install or update doesn't pull in the new paths defined. It does look like you need to delete the entire dependency folder and re-run.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions