Skip to content

read-tree: add progress indicators #181

@derrickstolee

Description

@derrickstolee

git read-tree -mu HEAD is the mechanism used for updating a working directory after updating a sparse-checkout file. However, there is no progress indicator for it doing the work. This can be a lot of work if the working directory grows a lot and many files need to be written.

Add a progress indicator to git read-tree. Don't forget:

  1. to include a --[no-]progress option to the command line.

  2. to turn progress off by default (to match existing behavior).

After #180 is complete, update the builtin code for git sparse-checkout to pass --progress (unless the command is run without a terminal, i.e.isatty(2) == 0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions