# git: Add askpass delegate to git-commit handlers \(\#42239\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 359160c8b15a276d11af5d269d9fb1f0ebcd1765

Requested commit: 359160c8b15a276d11af5d269d9fb1f0ebcd1765

Commit: 359160c8b15a276d11af5d269d9fb1f0ebcd1765

Tree: cddf0683fc830eb8dff79fb1d183968e0e4872d1

Author: Jakub Konka

Committer: GitHub

## Message

```
git: Add askpass delegate to git-commit handlers (#42239)

In my local setup, I always enforce git-commit signing with GPG/SSH
which automatically enforces `git commit -S` when committing. This
changeset will now show a modal to the user for them to specify the
passphrase (if any) so that they can unlock their private key for
signing when committing in Zed.

<img width="1086" height="948" alt="Screenshot 2025-11-07 at 11 09
09 PM"
src="https://github.com/user-attachments/assets/ac34b427-c833-41c7-b634-8781493f8a5e"
/>


Release Notes:

- Handle automatic git-commit signing by presenting the user with an
askpass modal
```

## Parents

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

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