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(status): avoid showing components as pending-update when their remote-lane is empty #7138

Merged
merged 2 commits into from
Mar 10, 2023

Conversation

davidfirst
Copy link
Member

@davidfirst davidfirst commented Mar 10, 2023

currently, if the remote-lane doesn't exist, or it doesn't have this specific component, it falls back to the either the forked-lane or to the component.head. For bit-status or bit-checkout-head this is incorrect. The comparison needs to be against the remote-lane, and if it doesn't exist there, it should assume that the local is ahead.

(this regression caused by #7036. but this time, instead of changing the divergeData, we treat bit-status/checkout differently)

@davidfirst davidfirst merged commit 249e546 into master Mar 10, 2023
@davidfirst davidfirst deleted the pending-update-lanes-remote-empty branch March 10, 2023 18:59
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

Successfully merging this pull request may close these issues.

2 participants