Skip to content

Commit (Amend) doesn't allow changing the commit message if there are no working changes #89923

@miho

Description

@miho
  • VSCode Version: Version: 1.41.1 (user setup), Commit: 26076a4

  • OS Version: Windows_NT x64 10.0.18363

Steps to Reproduce:

  1. Commit changed files
  2. Click on Commit all (Amend) the commit to change the commit message
  3. The message There are no changes to commit is displayed

Why is this a bug? The purpose of Amend is not only to correct files that have previously been committed. It is also highly useful to change the commit message (misspelled, forgot to reference issues etc.). The UI should behave like the CLI or provide reasonable alternative to change the commit message of a previous commit.

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buggitGIT issuesinsiders-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