Hi Peff, I want to set gpg -v to pgp.program, but if I set it, it can't call gpg: ``` error: cannot run gpg -v: No such file or directory error: could not run gpg. fatal: failed to write commit object ``` I have tried set gpg.program value to `gpg|/tmp/log`, `/usr/bin/gpg -v`, `gpg -v`, `"/usr/bin/gpg -v"` only after I set to `gpg` or `/usr/bin/gpg` without any argument, it will work. Sincerely, 田震 On Tue, Jun 14, 2016 at 4:18 PM, Jeff King <peff@xxxxxxxx> wrote: > On Tue, Jun 14, 2016 at 04:09:52PM +0800, ZhenTian wrote: > >> I have tested sign my work in another project, it works fine, I have >> committed five times, all commits are signed. >> >> I can't find encoded signature block in the output of "git cat-file >> commit HEAD", only these: >> ``` >> tree 17a572e349ce2fda47470951b5011b9c2f6533b7 >> parent 2c35701725d34325520acb9b45daf42f64adc536 >> author TianZhen <tianzhen@xxxxxxxxxxxxxx> 1465887785 +0800 >> committer TianZhen <tianzhen@xxxxxxxxxxxxxx> 1465887791 +0800 >> >> feat: mobile support free freight hint, closed #1417 >> ``` >> >> Some of my commits are signed, for example I have committed four times >> today, only first commit is signed. Is it possible some issue with >> gpg-agent? I can't find it via `ps -Af | grep gpg`. > > Possibly. If you set gpg.program "gpg -v", does it help? You could also > try setting it to "gpg | /tmp/log" to see what gpg is passing back to > git. > > -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html