From: Lars Schneider <larsxschneider@xxxxxxxxx> Use the CLOEXEC flag similar to 05d1ed61 to fix leaked file descriptors. Patch 1/2 was contemplated by Junio here: http://public-inbox.org/git/xmqq37lnbbpk.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx/ I followed Torsten's advice and renamed `git_open_noatime` to `git_open_noatime_cloexec`: http://public-inbox.org/git/20160830145429.GA11221@tb-raspi/ Patch 2/2 was part of my "Git filter protocol" series: http://public-inbox.org/git/20160825110752.31581-14-larsxschneider@xxxxxxxxx/ (I kept the patch as-is but changed the commit messages slightly) Thanks, Lars Lars Schneider (2): sha1_file: open window into packfiles with CLOEXEC read-cache: make sure file handles are not inherited by child processes builtin/pack-objects.c | 2 +- cache.h | 2 +- pack-bitmap.c | 2 +- read-cache.c | 2 +- sha1_file.c | 14 +++++++------- 5 files changed, 11 insertions(+), 11 deletions(-) -- 2.10.0