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

Retry if fast-forward fails #4

Open
theoy opened this issue Apr 7, 2016 · 0 comments
Open

Retry if fast-forward fails #4

theoy opened this issue Apr 7, 2016 · 0 comments

Comments

@theoy
Copy link
Owner

theoy commented Apr 7, 2016

If more than one publisher is trying to publish to the same Git remote, it's possible for some one else to win in between the clone and commit/push.

This makes the push no longer a fast-forward push, and some Git remotes may reject it.

Recovering and adjusting the parent commit is a more resilient way to react to this race condition.

@theoy theoy changed the title Retry during racy pushes Retry if fast-forward fails Apr 11, 2016
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