commit 1249197104eacb7b4893980816cf5bda0bfaff54 from: Stefan Sperling date: Wed Mar 18 16:13:45 2020 UTC show path to temporary pack file in argv of got-fetch-pack and got-index-pack commit - 72054488e646c3337218adbcb800524654a1ef23 commit + 1249197104eacb7b4893980816cf5bda0bfaff54 blob - 19368f185da89c0705fa0626390c32750c16b1b7 blob + 2fdd0e7c1725a3b09a7e56e75a5342d747df9a68 --- lib/fetch.c +++ lib/fetch.c @@ -402,7 +402,7 @@ got_fetch_pack(struct got_object_id **pack_hash, struc goto done; } else if (fetchpid == 0){ got_privsep_exec_child(imsg_fetchfds, - GOT_PATH_PROG_FETCH_PACK, "."); + GOT_PATH_PROG_FETCH_PACK, tmppackpath); } if (close(imsg_fetchfds[1]) != 0) { @@ -490,7 +490,7 @@ got_fetch_pack(struct got_object_id **pack_hash, struc goto done; } else if (idxpid == 0) got_privsep_exec_child(imsg_idxfds, - GOT_PATH_PROG_INDEX_PACK, "."); + GOT_PATH_PROG_INDEX_PACK, tmppackpath); if (close(imsg_idxfds[1]) != 0) { err = got_error_from_errno("close"); goto done;