From: Junio C Hamano Date: Fri, 13 Sep 2024 22:27:42 +0000 (-0700) Subject: Merge branch 'jk/sparse-fdleak-fix' X-Git-Tag: v2.47.0-rc0~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17ae0b824911640dcccda9ff2f3a312ebe9dbacb;p=thirdparty%2Fgit.git Merge branch 'jk/sparse-fdleak-fix' A file descriptor left open is now properly closed when "git sparse-checkout" updates the sparse patterns. * jk/sparse-fdleak-fix: sparse-checkout: use fdopen_lock_file() instead of xfdopen() sparse-checkout: check commit_lock_file when writing patterns sparse-checkout: consolidate cleanup when writing patterns --- 17ae0b824911640dcccda9ff2f3a312ebe9dbacb