commit | c21aa54e190e6527f05a2a943b343032e9dac90b | [log] [tgz] |
---|---|---|
author | Alex Riesen <raa.lkml@gmail.com> | Thu Apr 26 00:28:17 2007 +0200 |
committer | Junio C Hamano <junkio@cox.net> | Wed Apr 25 17:34:37 2007 -0700 |
tree | 3e0f5a4ada1e25a50fbfc0a4b70326b4bf0f3ce1 | |
parent | d1efefa46fda6bb68bcd73a5e532eef98ef28a1d [diff] |
Fix handle leak in write_tree This is a quick and dirty fix for the broken "git cherry-pick -n" on some broken OS, which does not remove the directory entry after unlink succeeded(!) if the file is still open somewher. The entry is left but "protected": no open, no unlink, no stat. Very annoying. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>