Skip to content

Conversation

@osortega
Copy link
Contributor

@osortega osortega commented Dec 4, 2025

No description provided.

Copilot AI review requested due to automatic review settings December 4, 2025 20:19
@osortega osortega self-assigned this Dec 4, 2025
Copilot finished reviewing on behalf of osortega December 4, 2025 20:20
@vs-code-engineering vs-code-engineering bot added this to the November 2025 milestone Dec 4, 2025
rebornix
rebornix previously approved these changes Dec 4, 2025
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 adds a call to gitService.getRepository() before calling diffIndexWithHEADShortStats() in the CLI chat sessions provider to ensure the repository is opened before attempting to retrieve file statistics for worktree-based sessions.

Key Changes

  • Introduced a worktreeUri variable to hold the URI of the worktree path
  • Added a call to gitService.getRepository(worktreeUri) to trigger repository opening before fetching diff statistics

…ontribution.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@osortega osortega added this pull request to the merge queue Dec 4, 2025
Merged via the queue into main with commit f34fcbb Dec 4, 2025
16 checks passed
@osortega osortega deleted the osortega/wait-for-repo-to-open branch December 4, 2025 21:20
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.

4 participants