{"thread":{"id":"58204","subject":"git citool / gui and signed commits","startedAt":"2022-07-21T14:22:23Z","lastAt":"2022-07-21T14:22:23Z","messageCount":1,"participants":["Bossert, Andre"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"459629","messageId":"CALzBCsFjw3DfY=gbL+23XL0MwKJHv_-znSADfh7XBrmMv51hyg@mail.gmail.com","threadId":"58204","inReplyTo":null,"subject":"git citool / gui and signed commits","fromName":"Bossert, Andre","fromEmail":"anb0s@anbos.de","sentAt":"2022-07-21T14:21:46Z","receivedAt":"2022-07-21T14:22:23Z","isPatch":false,"sender":{"key":"anb0s@anbos.de","avatar":null},"body":"Hello,\n\nusing commit and tag signing and now also enabled it as default.\n\nTo circumvent the necessity to commit every change on git bash in\norder to sign it, I chose to edit the global .gitconfig and set the\nfollowing parameters:\n\n```\n[commit]\n  gpgsign = true\n\n[tag]\n  gpgSign = true\n```\n\nNow using git gui the problem is, this only seems to work as expected if I\n- amend changes to the previous commit\n- create a new commit with the previous commit being **_not signed_**\n\nIn case I want to create a new commit and the previous commit is\n**_signed_**  I fail with the following error:\n\n```\nchild process exited abnormally\nchild process exited abnormally\n    while executing\n\"close $fd_ot\"\n    (procedure \"commit_committree\" line 24)\n    invoked from within\n\"commit_committree file1ed02482210\n9a6a25477c6f52d405158e68974da5cf41afe5d6 .git/GITGUI_EDITMSG\"\n```\n\nWorkarounds are available, true - but \"git citool\" is pretty\nconvenient to review changes before stashing them, add the message and\ncommit in one go.\n\nI'm trying to understand the tcl code but may be someone uses signing\nand has idea or more insights for me...\n\nRegards\nAndre (anb0s)\neMail: anb0s@anbos.de\n"}]}