# git_ui: Fix commit and amend not working via keybinds in commit modal \(\#44690\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/1186b50ca4eba1762f9ee812786604ced2ab2a0e)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 1186b50ca4eba1762f9ee812786604ced2ab2a0e

Requested commit: 1186b50ca4eba1762f9ee812786604ced2ab2a0e

Commit: 1186b50ca4eba1762f9ee812786604ced2ab2a0e

Tree: 35d6464160f0c9414ca301cca6d5f5fdddb0e195

Author: Smit Barmase

Committer: GitHub

## Message

```
git_ui: Fix commit and amend not working via keybinds in commit modal (#44690)

Closes #41567

We were using the git panel editor to check the focus where the commit
modal has its only editor.

Release Notes:

- Fixed an issue where commit and amend actions wouldn’t trigger when
using keybinds in the commit modal.
```

## Parents

- [65130a9ca9d9e75c5f1d0dbe6836b672c78a73b4](https://git.cafe/gitcafe/zed/commit/65130a9ca9d9e75c5f1d0dbe6836b672c78a73b4?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/1186b50ca4eba1762f9ee812786604ced2ab2a0e?format=markdown)
