Skip to content
This repository was archived by the owner on Apr 25, 2019. It is now read-only.
This repository was archived by the owner on Apr 25, 2019. It is now read-only.

Init cmd unnecessary clones the entire history of the master branch. #68

@nicroto

Description

@nicroto

I've described the issue here.

I think the first solution should be sufficient - instead of the current regular clone, init would clone like this:

$ git clone --depth=1 <repo-url>

If the owners of the repo would agree on this improvement - I would like to submit a PR.

If this is accepted, would this be the appropriate workflow?

  • I fork the repo;
  • create a new branch with name "perf-68-nicroto-faster-init";
  • commit my changes (likely/hopefully just 1 commit named "(perf) speed-up init command by shallow cloning");
  • (haven't done this for a branch that doesn't exist on the original repo, but I am sure I can somehow) submit a pull request.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions