summaryrefslogtreecommitdiff
path: root/t/t9110
diff options
context:
space:
mode:
authorLibravatar Stephen Boyd <sboyd@codeaurora.org>2013-01-31 10:18:40 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-01-31 11:10:44 -0800
commit7dac3f83218b9f6c4c7d1c1cf093190f20d27108 (patch)
tree7c70a82ddb09f2d9b5aa4b2ba26061efd4759f74 /t/t9110
parentSplit GPG interface into its own helper library (diff)
downloadtgif-7dac3f83218b9f6c4c7d1c1cf093190f20d27108.tar.xz
gpg: close stderr once finished with it in verify_signed_buffer()
Failing to close the stderr pipe in verify_signed_buffer() causes git to run out of file descriptors if there are many calls to verify_signed_buffer(). An easy way to trigger this is to run git log --show-signature --merges | grep "key" on the linux kernel git repo. Eventually it will fail with error: cannot create pipe for gpg: Too many open files error: could not run gpg. Close the stderr pipe so that this can't happen. Suggested-by: Jeff King <peff@peff.net> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9110')
0 files changed, 0 insertions, 0 deletions