Skip to content

Conversation

@osortega
Copy link
Contributor

@osortega osortega commented Dec 11, 2025

Copilot AI review requested due to automatic review settings December 11, 2025 23:12
@osortega osortega self-assigned this Dec 11, 2025
@vs-code-engineering vs-code-engineering bot added this to the December / January 2026 milestone Dec 11, 2025
Tyriar
Tyriar previously approved these changes Dec 11, 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 enhances the Copilot CLI chat session worktree feature by allowing users to choose between moving or copying uncommitted changes when creating an isolated worktree. Previously, users could only "Include Changes" (which moved them). Now users are presented with two distinct options: "Move Changes" (deletes from source) and "Copy Changes" (keeps in source).

Key Changes

  • Replaced single "Include Changes" button with "Move Changes" and "Copy Changes" options
  • Refactored confirmation handling logic by renaming handlePushConfirmationData to generateConfirmationResponseIfNeeded and extracting generateUncommittedChangesConfirmation
  • Updated the git migration logic to conditionally delete from source based on user choice

Yoyokrazy
Yoyokrazy previously approved these changes Dec 12, 2025
@Yoyokrazy Yoyokrazy dismissed their stale review December 12, 2025 00:52

test failures

@osortega osortega marked this pull request as draft December 12, 2025 23:08
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