Skip to content

Git: keybinding for commit is not working when amending #41567

@kerma

Description

@kerma

Summary

Default keybinding cmd-shift-enter (on macos) is not working after switching to amend mode in git commit panel.

Similar to issue reported (and fixed) in #38783.

Description

Steps to reproduce:

  1. Make a commit
  2. Make a change
  3. Stage the change
  4. Run the git commit panel via execute command (shift-cmd-p)
  5. Press the "Amend" keybinding: cmd-shift-enter - observe the commit panel change to "amend commit" mode, previous commit message is displayed
  6. Press the "amend commit" keybinding again to commit: cmd-shift-enter

Expected Behavior:

Commit is amended.

Actual Behavior:

Commit panel is closed, commit is not amended.

Zed Version and System Specs

Zed 0.210.4
428ef50

Metadata

Metadata

Labels

area:integrations/gitGit integration feedbackmeta:regressionthis used to work and now doesn'tstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions