Skip to content

Sessions - add context key to track uncommitted changes#307346

Merged
lszomoru merged 4 commits intomainfrom
lszomoru/hushed-mammal
Apr 2, 2026
Merged

Sessions - add context key to track uncommitted changes#307346
lszomoru merged 4 commits intomainfrom
lszomoru/hushed-mammal

Conversation

@lszomoru
Copy link
Copy Markdown
Member

@lszomoru lszomoru commented Apr 2, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 2, 2026 06:07
@lszomoru lszomoru enabled auto-merge (squash) April 2, 2026 06:07
@lszomoru lszomoru self-assigned this Apr 2, 2026
@lszomoru lszomoru added this to the 1.115.0 milestone Apr 2, 2026
Copy link
Copy Markdown
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 extends the Sessions “Changes” view (vs/sessions layer) by introducing a new scoped context key to reflect whether the active session’s git repository has any uncommitted changes.

Changes:

  • Added sessions.hasUncommittedChanges RawContextKey.
  • Bound the new context key to the active session repository state (index/working tree/untracked).

@lszomoru lszomoru merged commit 7f7a02b into main Apr 2, 2026
19 checks passed
@lszomoru lszomoru deleted the lszomoru/hushed-mammal branch April 2, 2026 07:52
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.

3 participants