Re: [Feature request] Add config option to gpgsign IFF key is present

2018-03-11 Thread Joshua Nelson
I like having machine-specific config in ~/.config/git, I think I'll do that. I didn't realize you could forward gpg-agent over a connection, I may look further into that. Thanks for the help! Joshua Nelson On Sunday, March 11, 2018 17:21:42 EDT brian m. carlson wrote: > On Sat, Mar 10, 2018

Re: [Feature request] Add config option to gpgsign IFF key is present

2018-03-11 Thread brian m. carlson
On Sat, Mar 10, 2018 at 03:28:43PM +, NELSON, JOSHUA Y wrote: > Currently, `commit.gpgsign` allows you to give either 'true' or 'false' as a > value. If the key is not present, commits will fail: > > ```sh > $ git commit -m "example" > error: gpg failed to sign the data > fatal: failed to

[Feature request] Add config option to gpgsign IFF key is present

2018-03-10 Thread NELSON, JOSHUA Y
Currently, `commit.gpgsign` allows you to give either 'true' or 'false' as a value. If the key is not present, commits will fail: ```sh $ git commit -m "example" error: gpg failed to sign the data fatal: failed to write commit object ``` I like to reuse my config file across several machines,