Add gpg2 wrapper program that applies --no-tty flag

This commit is contained in:
Danielle McLean 2017-02-27 13:50:28 +11:00
parent 8430953d9c
commit a1e0795e78
No known key found for this signature in database
GPG key ID: 1691CE338268F49A
3 changed files with 7 additions and 0 deletions

View file

@ -1 +1,2 @@
config => .config config => .config
local => .local

View file

@ -20,5 +20,9 @@
[git-up.rebase] [git-up.rebase]
arguments = --preserve-merges arguments = --preserve-merges
[gpg]
program = gpg2-no-tty
[rerere] [rerere]
enabled = true enabled = true

2
local/bin/gpg2-no-tty Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec gpg2 --no-tty "$@"