# git citool / gui and signed commits

1 messages from 2022-07-21 to 2022-07-21. Participants: Bossert, Andre.
Thread: https://gitlist.dev/t/58204

## Bossert, Andre, 2022-07-21 14:21

Subject: git citool / gui and signed commits
Message-ID: <CALzBCsFjw3DfY=gbL+23XL0MwKJHv_-znSADfh7XBrmMv51hyg@mail.gmail.com>
URL: https://gitlist.dev/e/CALzBCsFjw3DfY%3DgbL%2B23XL0MwKJHv_-znSADfh7XBrmMv51hyg%40mail.gmail.com

```
Hello,

using commit and tag signing and now also enabled it as default.

To circumvent the necessity to commit every change on git bash in
order to sign it, I chose to edit the global .gitconfig and set the
following parameters:

ˋˋˋ
[commit]
  gpgsign = true

[tag]
  gpgSign = true
ˋˋˋ

Now using git gui the problem is, this only seems to work as expected if I
- amend changes to the previous commit
- create a new commit with the previous commit being **_not signed_**

In case I want to create a new commit and the previous commit is
**_signed_**  I fail with the following error:

ˋˋˋ
child process exited abnormally
child process exited abnormally
    while executing
"close $fd_ot"
    (procedure "commit_committree" line 24)
    invoked from within
"commit_committree file1ed02482210
9a6a25477c6f52d405158e68974da5cf41afe5d6 .git/GITGUI_EDITMSG"
ˋˋˋ

Workarounds are available, true - but "git citool" is pretty
convenient to review changes before stashing them, add the message and
commit in one go.

I'm trying to understand the tcl code but may be someone uses signing
and has idea or more insights for me...

Regards
Andre (anb0s)
eMail: anb0s@anbos.de

```
