Skip to content
This repository has been 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

Open
nicroto opened this issue May 2, 2018 · 0 comments
Open

Comments

@nicroto
Copy link

nicroto commented May 2, 2018

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant