chiark / gitweb /
git-cache-proxy: Use open-coded fork/exec for git gc
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 11 Feb 2020 18:32:49 +0000 (18:32 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 11 Feb 2020 18:57:35 +0000 (18:57 +0000)
commit62a48a2db8c1e4eb201d31137f012cb2edb26b9b
treec771ee64bf9978f88474844c7a85ca3bc71fab37
parentc90b7cd9b44d02cf8c94ca92bb98266915896841
git-cache-proxy: Use open-coded fork/exec for git gc

This allows us to handle ENOENT from chdir specially.  We want to
tolerate this, because it can happen if the previous lockholder
cleaned it all up.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
scripts/git-cache-proxy