diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2013-01-30 18:01:05 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-01 14:11:50 -0800 |
commit | 939296c4a42b0eb22542f0fe2e50b53993489eff (patch) | |
tree | a731680c80eeaefec27ecced14aa133fc64aa56f /fetch-pack.h | |
parent | Git 1.7.12.4 (diff) | |
download | tgif-939296c4a42b0eb22542f0fe2e50b53993489eff.tar.xz |
run-command: be more informative about what failed
While debugging an error with verify_signed_buffer() the error
messages from run-command weren't very useful:
error: cannot create pipe for gpg: Too many open files
error: could not run gpg.
because they didn't indicate *which* pipe couldn't be created.
Print which pipe failed to be created in the error message so we
can more easily debug similar problems in the future.
For example, the above error now prints:
error: cannot create standard error pipe for gpg: Too many open files
error: could not run gpg.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-pack.h')
0 files changed, 0 insertions, 0 deletions