Skip to content

git.promptToSaveFilesBeforeCommit should not warn on unstaged files. #66296

Closed
@maslade

Description

@maslade

Issue Type: Feature Request

This new feature is over-eager and triggers on unsaved files that are not part of the commit, which I don't think makes sense. If I have staged file A.js and am committing only file A.js, I should not receive a warning that B.js is unsaved. Ideally it will only consider staged files unless I am committing all staged and unstaged.

VS Code version: Code 1.30.2 (61122f8, 2019-01-07T22:54:13.295Z)
OS version: Windows_NT x64 10.0.17763

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buggitGIT issuesgood first issueIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunitiesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions