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

Need a correct way to resume an aborted clone #208

Open
harendra-kumar opened this issue Jun 22, 2016 · 1 comment
Open

Need a correct way to resume an aborted clone #208

harendra-kumar opened this issue Jun 22, 2016 · 1 comment

Comments

@harendra-kumar
Copy link
Contributor

Currently when a clone aborts due to file name conflict it suggests to do a pull to finish the clone. But that is not equivalent. If the clone had finished successfully it would have run several hooks (e.g. post-clone, post-merge etc.) but a pull does not run those same hooks. On top of that pull might run very different hooks. This leads to unexpected and different behavior.

We should perhaps remember the merge pending state and finish the clone by running the command again. Any other command in that state should fail with a message asking the user to finish the clone first.

@RichiH
Copy link
Owner

RichiH commented Feb 26, 2017

Alternatively, the failed clone could clean up after itself and then abort.

I am somewhat torn on what would be less surprising/annoying.

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

No branches or pull requests

2 participants