Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

init_working_dir should reuse cloned git repos for efficiency #328

Open
noisecapella opened this issue May 20, 2021 · 0 comments
Open

init_working_dir should reuse cloned git repos for efficiency #328

noisecapella opened this issue May 20, 2021 · 0 comments

Comments

@noisecapella
Copy link

Currently init_working_dir will git clone each time it is used, which is frequently. Instead, we should have some known directory (/tmp/doof/repo-name-here for example) and:

  • on the first call of init_working_dir clone into that directory
  • on any future calls, clear away any changes in the git repo including commits made and fetch new changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant