diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-07-06 13:38:12 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-06 13:38:12 -0700 |
commit | ed0f7bdec93478e280c9faa2a8ffb13a183cda09 (patch) | |
tree | 9cf0d27c9613aacbb38339d009c0e961840d79b1 /builtin | |
parent | Merge branch 'mg/signature-doc' (diff) | |
parent | gpg-interface: check gpg signature creation status (diff) | |
download | tgif-ed0f7bdec93478e280c9faa2a8ffb13a183cda09.tar.xz |
Merge branch 'jk/gpg-interface-cleanup'
A new run-command API function pipe_command() is introduced to
sanely feed data to the standard input while capturing data from
the standard output and the standard error of an external process,
which is cumbersome to hand-roll correctly without deadlocking.
The codepath to sign data in a prepared buffer with GPG has been
updated to use this API to read from the status-fd to check for
errors (instead of relying on GPG's exit status).
* jk/gpg-interface-cleanup:
gpg-interface: check gpg signature creation status
sign_buffer: use pipe_command
verify_signed_buffer: use pipe_command
run-command: add pipe_command helper
verify_signed_buffer: use tempfile object
verify_signed_buffer: drop pbuf variable
gpg-interface: use child_process.args
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions