]> git.99rst.org Git - git.git/commit
http: cleanup function fetch_and_setup_pack_index()
authorLorenzoPegorari <redacted>
Mon, 1 Jun 2026 13:52:01 +0000 (15:52 +0200)
committerJunio C Hamano <redacted>
Mon, 1 Jun 2026 22:57:52 +0000 (07:57 +0900)
commit96ee7f1650e6096561599f069d18c052412d7506
treeecc8871d86eebdcff78845136a96298de63e8782
parentc69baaf57ba26cf117c2b6793802877f19738b0d
http: cleanup function fetch_and_setup_pack_index()

Cleanup the function `fetch_and_setup_pack_index()` by removing the
useless call to the function `unlink()`.

This is not necessary anymore since 63aca3f7f1 (dumb-http: store
downloaded pack idx as tempfile, 2024-10-25), when `fetch_pack_index()`
started registering its return value (in this case `tmp_idx`) as a
tempfile to be deleted at process exit.

Signed-off-by: LorenzoPegorari <redacted>
Signed-off-by: Junio C Hamano <redacted>
http.c
git clone https://git.99rst.org/PROJECT