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

Clone is freezing when cloning from one local repo to another #205

Closed
sirnewton01 opened this issue Mar 1, 2019 · 3 comments
Closed

Clone is freezing when cloning from one local repo to another #205

sirnewton01 opened this issue Mar 1, 2019 · 3 comments
Labels

Comments

@sirnewton01
Copy link
Collaborator

Run dgit clone <path/to/some/local/repo> <path/to/new/repo and it will freeze without doing anything until you kill the process.

Underneath, the clone command is launching a git-upload-pack command (not provided by dgit, usually part of an existing git install) and using a pipe (I think) to fetch the packs from the other repo. Something is stalling in that communication and causing the entire process to freeze.

@sirnewton01 sirnewton01 added the bug label Mar 1, 2019
@sirnewton01
Copy link
Collaborator Author

It is a bit of a shame that there's a specialized tool "git-upload-pack" and IPC necessary to basically copy some files from one place to another. If dgit is eventually become a complete replacement for git it will need to be able to either have its own git-upload-pack implementation or come up with an acceptable short-cut.

@driusan
Copy link
Owner

driusan commented Mar 8, 2019

Can you test if this is still the case with #221? I'm able to run a clone from a local repo to another on DragonFly.

@sirnewton01
Copy link
Collaborator Author

This is a dup of #215

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

No branches or pull requests

2 participants