diff options
-rw-r--r-- | send-pack.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/send-pack.c b/send-pack.c index 83c23aef6..e15232739 100644 --- a/send-pack.c +++ b/send-pack.c @@ -562,6 +562,14 @@ int send_pack(struct send_pack_args *args, close(out); if (git_connection_is_socket(conn)) shutdown(fd[0], SHUT_WR); + + /* + * Do not even bother with the return value; we know we + * are failing, and just want the error() side effects. + */ + if (status_report) + receive_unpack_status(in); + if (use_sideband) { close(demux.out); finish_async(&demux); |