diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2007-04-26 00:28:17 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-25 17:34:37 -0700 |
commit | c21aa54e190e6527f05a2a943b343032e9dac90b (patch) | |
tree | 3e0f5a4ada1e25a50fbfc0a4b70326b4bf0f3ce1 /unpack-trees.h | |
parent | d1efefa46fda6bb68bcd73a5e532eef98ef28a1d (diff) | |
download | git-c21aa54e190e6527f05a2a943b343032e9dac90b.tar.gz |
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>
Diffstat (limited to 'unpack-trees.h')
0 files changed, 0 insertions, 0 deletions