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

When stack fully emptied, disreguard old PR information #5990

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

Caleb-T-Owens
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Jan 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gitbutler-components ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 20, 2025 10:36am
gitbutler-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 20, 2025 10:36am

@@ -542,6 +542,11 @@ impl Stack {
}

if self.heads.iter().all(|branch| branch.archived) {
// Remove previous PR information so it looks like we started a new stack
for head in self.heads.iter_mut() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to do this for all or only for the integrated ones?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so. Getting rid of context too eagerly could be anoying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants