]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/close-duped-fd-before-unlock-for-bundle'
authorJunio C Hamano <gitster@pobox.com>
Sun, 18 Nov 2018 09:23:59 +0000 (18:23 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sun, 18 Nov 2018 09:23:59 +0000 (18:23 +0900)
commit9e3dc6bfb2756f9da7ddb64a1d9e41a22aa11e9b
tree352407e77e35633cd1a63cca1c6d05275cb5f323
parent4520c233742cca267e1c0ba55f04f35ef7e9baf7
parent2c8ee1f53c7048aa391ac810306bf4cb8e15f2bc
Merge branch 'jk/close-duped-fd-before-unlock-for-bundle'

When "git bundle" aborts due to an empty commit ranges
(i.e. resulting in an empty pack), it left a file descriptor to an
lockfile open, which resulted in leftover lockfile on Windows where
you cannot remove a file with an open file descriptor.  This has
been corrected.

* jk/close-duped-fd-before-unlock-for-bundle:
  bundle: dup() output descriptor closer to point-of-use
bundle.c