(Bug Report Form, zh-Hans) git-subtree not respecting commit.gpgSign
From: fa <hidden>
Date: 2025-11-01 12:55:06
Dear git developers and maintainers, I met some problems with git-subtree, it's little bothers me. Would you like to provide me some help? Here is the bug report form(localized). 感谢您填写 Git 错误报告! 请填写以下问卷,以帮助我们了解您的问题。 在错误发生之前,您做了什么?(重现问题的步骤) I tried to push a subtree managed folder to a remote. With configured commit.gpgSign=true. 您期望发生什么?(预期行为) All commits pushed to remote is signed by gpg. 实际发生了什么?(实际行为) Pushed commits are not signed as expected. Or, commit.gpgSign is not respected by git-subtree. 您所期望的与实际发生的有什么不同? Subtree generated commits are not signed, but signed commits is what I expected. 您想要补充的其它内容: I think checking commit.gpgSign before generating each commit is a good start point for fix this. I pushed to https://github.com/Akarinnnnn/SteamworksParser. You can see from commit `a2883a6` on https://github.com/Akarinnnnn/SteamworksParser/commits/smart-anycpu-marshal are all not signed. Which is the starting point I use git-subtree to manage internal module. 请检查下面错误报告中余下的内容。 您可以删除任何您不想共享的内容。 I think checking commit.gpgSign before generating each commit is a good start point for fix this. By the way, I pushed subtree managed content to You can see from commit `a2883a6` on https://github.com/Akarinnnnn/SteamworksParser/commits/smart-anycpu-marshal are all not signed. Which is the starting point I use git-subtree to manage internal module. [系统信息] git 版本: git version 2.43.0.windows.1 cpu: x86_64 built from commit: 4b968f3ea3b32a7bc50846bab49f3f381841d297 sizeof-long: 4 sizeof-size_t: 8 shell-path: /bin/sh feature: fsmonitor--daemon uname: Windows 10.0 26200 编译器信息:gnuc: 13.2 libc 信息:libc 信息不可用 $SHELL (typically, interactive shell): pwsh [启用的钩子] Best regards, Fa鸽