http-backend: cleanup writing to child process
commit6b1fae1dfbbdb6dc352567c0fc45a9e87474192d
authorMax Kirillov <max@max630.net>
Sun, 10 Jun 2018 15:05:19 +0000 (10 18:05 +0300)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Jun 2018 20:21:36 +0000 (11 13:21 -0700)
tree6e9309dda9bb374a876f3889b93d778e3146ac9b
parentc2c7d17b030646b40e6764ba34a5ebf66aee77af
http-backend: cleanup writing to child process

As explained in [1], we should not assume the reason why the writing has
failed, and even if the reason is that child has existed not the reason
why it have done so. So instead just say that writing has failed.

[1] https://public-inbox.org/git/20180604044408.GD14451@sigill.intra.peff.net/

Signed-off-by: Max Kirillov <max@max630.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-backend.c