]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/sparse-fdleak-fix'
authorJunio C Hamano <gitster@pobox.com>
Fri, 13 Sep 2024 22:27:42 +0000 (15:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Sep 2024 22:27:43 +0000 (15:27 -0700)
commit17ae0b824911640dcccda9ff2f3a312ebe9dbacb
tree3bf2bfe687443eed26136cf766f5480866c04319
parent0299251319669eba8c343f56c4bd5393148674da
parenta71c47825d2650cfe53217d860107d9457cc375c
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