]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
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


Trivial merge