mirror of
https://github.com/git/git.git
synced 2026-08-04 23:21:06 +00:00
http: avoid closing index-pack input twice
finish_http_pack_request() passes its staging-file descriptor to index-pack through child_process.in. start_command() takes ownership of a supplied descriptor and closes it, even when starting the child fails. Do not close the descriptor again after run_command() returns. Signed-off-by: Ted Nyman <tnyman@openai.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
c71ed75a8b
commit
f0d866a2ea
Reference in New Issue
Block a user