Skip to content

Unable to create empty git commit if there are any changed files #107753

@connor4312

Description

@connor4312

While testing #105881 I noticed a case:

  1. Change a file (but do not stage it)
  2. Run Git: Commit Empty
  3. Say that you're sure you want to create an empty commit
  4. You're presented with this screen. There's no way to get past it and create an empty commit without stashing/discarding local changes 🐛

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 opportunitiesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions