← Back to Pull requests

Git - Don't have 2 commands called "Open Changes" #323886

Open
nh2 opened this pull request with 2 lines diff across 1 files
View on GitHub
nh2 nh2 commented on Jul 01, 2026 14:46 UTC
Author

So far we had:

"command.openChange": "Open Changes",
"command.viewChanges": "Open Changes",

making the Command Pallete confusing:

<img width="250" height="132" alt="image" src="https://github.com/user-attachments/assets/11f2365d-0802-4c4d-8fc7-cad12536c611" />

<!-- Thank you for submitting a Pull Request. Please:
Read our Pull Request guidelines:
https://github.com/microsoft/vscode/wiki/How-to-Contribute#pull-requests
Associate an issue with the Pull Request.
Ensure that the code is up-to-date with the main branch.
Include a description of the proposed changes and how to test them.
-->

Diff: 2 lines (+1 / -1) across 1 files Reviewer: nh2 Review duration: 198080m
All Vouch review confidence checks passed
Residual risk 0.05 = Change Risk (0.31) × (1 − Review Confidence (0.82)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.31 · 2 lines diff across 1 files
0.31
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.91 · 3 substantive comment(s)
0.91
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
82%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Self Review self_review
0.140
Diff Size diff_size
0.066
Real PR Conversation Timeline
5 items
Copilot Copilot commented on code on Jul 01, 2026 14:49 UTC
Code Review
extensions/git/package.nls.json:1
@@ -16,7 +16,7 @@
 	"command.openWorktreeInNewWindow2": "Open in New Window",
 	"command.refresh": "Refresh",
 	"command.compareWithWorkspace": "Compare with Workspace",
-	"command.openChange": "Open Changes",
+	"command.openChange": "Open Change",

The PR aims to avoid having two commands labeled "Open Changes" in the Command Palette, but after this change there are still at least two commands with that exact title (e.g. command.viewChanges and command.timelineOpenDiff in this same file). That likely still leaves the palette ambiguous, just with a different pair of duplicates.

copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Jul 01, 2026 14:49 UTC
Reviewer

Pull request overview

Adjusts Git extension command localization to reduce Command Palette ambiguity by differentiating two previously identical command titles.

Changes:

  • Renamed command.openChange from “Open Changes” to “Open Change” in extensions/git/package.nls.json.
  • vs-code-engineering[bot] vs-code-engineering[bot] commented on Jul 01, 2026 14:51 UTC
    Bot

    📬 CODENOTIFY

    The following users are being notified based on files changed in this PR:

    @lszomoru

    Matched files:

  • extensions/git/package.nls.json
  • nh2 nh2 commented on code on Jul 01, 2026 14:53 UTC
    Code Review
    extensions/git/package.nls.json:1
    @@ -16,7 +16,7 @@
     	"command.openWorktreeInNewWindow2": "Open in New Window",
     	"command.refresh": "Refresh",
     	"command.compareWithWorkspace": "Compare with Workspace",
    -	"command.openChange": "Open Changes",
    +	"command.openChange": "Open Change",

    I don't know what that other action does, so that's out of scope for my PR.

    Beyond that, that other conflict is not a problem because the action does not appear in the Command Palette as far as I can tell.

    Reviewers
    Assignees
    nh2 nh2
    Labels
    risk: low confidence: 82% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 30.6% (LOW) · Higher = larger blast radius
    30.6%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 82% · Lower = rushed or shallow review
    82%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 5.5% · Safe to merge
    5.5%