diff options
author | Luis Marsano <luis.marsano@gmail.com> | 2018-05-12 05:17:28 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-14 08:53:08 +0900 |
commit | 786ef50a23cbd0e93d1e41982cfaba76801ed885 (patch) | |
tree | 8b15a617ba127cb9262bc2fd1c128e5e37ed98f9 /builtin/mktree.c | |
parent | git-credential-netrc: adapt to test framework for git (diff) | |
download | tgif-786ef50a23cbd0e93d1e41982cfaba76801ed885.tar.xz |
git-credential-netrc: accept gpg option
git-credential-netrc was hardcoded to decrypt with 'gpg' regardless of
the gpg.program option. This is a problem on distributions like Debian
that call modern GnuPG something else, like 'gpg2'.
Set the command according to these settings in descending precedence
1. the git-credential-netrc command -g|--gpg option
2. the git gpg.program configuration option
3. the default: 'gpg'
For conformance with Documentation/CodingGuidelines
- use Git.pm for repository and global option queries
- document -g|--gpg command option in command usage
- test repository & command options
- write documentation placeholders according to main standards
Signed-off-by: Luis Marsano <luis.marsano@gmail.com>
Acked-by: Ted Zlatanov <tzz@lifelogs.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/mktree.c')
0 files changed, 0 insertions, 0 deletions