Skip to content

Conversation

@alexr00
Copy link
Member

@alexr00 alexr00 commented Jan 28, 2026

Copilot AI review requested due to automatic review settings January 28, 2026 12:58
@alexr00 alexr00 enabled auto-merge January 28, 2026 12:58
@alexr00 alexr00 self-assigned this Jan 28, 2026
@vs-code-engineering vs-code-engineering bot added this to the January 2026 milestone Jan 28, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes an issue where the checkout pull request button was shown in copilot-cloud-agent chat sessions even when no git repositories were open in the workspace. The fix adds a condition to check for the presence of git repositories before displaying the button.

Changes:

  • Added gitOpenRepositoryCount != 0 condition to the checkout pull request button visibility logic

@alexr00 alexr00 added this pull request to the merge queue Jan 28, 2026
Merged via the queue into main with commit 5c0068b Jan 28, 2026
25 checks passed
@alexr00 alexr00 deleted the alexr00/issue291024 branch January 28, 2026 14:51
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.

No active repository found on empty workspace

3 participants