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

fix: Push correctly during av stack sync #197

Conversation

twavv
Copy link
Contributor

@twavv twavv commented Aug 11, 2023

Fixes a bug where branches other than the current branch in the stack would not be pushed during av stack sync.

The bug was essentially that actions.Push assumed that the branch to be pushed was the current branch and the calling code didn't match that assumption. I changed the Push function to take the branch name explicitly since 1) it doesn't actually require the branch to be checked out and 2) APIs with fewer non-obvious assumptions are generally better and less prone to this kind of bug.

@aviator-app
Copy link
Contributor

aviator-app bot commented Aug 11, 2023

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR was merged using Aviator.


See the real-time status of this PR on the Aviator webapp.

@aviator-app aviator-app bot merged commit 07e2de0 into master Aug 11, 2023
@aviator-app aviator-app bot deleted the travis/mer-2579-av-stack-sync-doesnt-determine-if-remote-is-up-to-date branch August 11, 2023 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants