diff options
| author | Ted Nyman <tnyman@openai.com> | 2026-07-26 17:28:39 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-07-27 12:57:20 -0700 |
| commit | f0d866a2eafcd012fb8fda8edd6b32da68859d7b (patch) | |
| tree | 2922f5f9f629726826f1d5c938468b2f347fe371 /contrib/persistent-https/socket.go | |
| parent | c71ed75a8b1d59793e033407cf38b03ddc1d0179 (diff) | |
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>
Diffstat (limited to 'contrib/persistent-https/socket.go')
0 files changed, 0 insertions, 0 deletions
