diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2008-12-15 22:11:40 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-15 23:04:48 -0800 |
commit | 87c8a56e4f71cc7e22c16caa4adc2ae17f6aa93d (patch) | |
tree | 0b58d8421a6f83c88b469b761abe794a4e1d148d /t/t4013/diff.format-patch_--attach_--stdout_initial..master | |
parent | pager: do not dup2 stderr if it is already redirected (diff) | |
download | tgif-87c8a56e4f71cc7e22c16caa4adc2ae17f6aa93d.tar.xz |
fast-import: close pack before unlinking it
This is sort of a companion patch to 4723ee9(Close files opened by
lock_file() before unlinking.): on Windows, you cannot delete what
is still open.
This makes test 9300-fast-import pass on Windows for me; quite a few
fast-imports leave temporary packs until the test "blank lines not
necessary after other commands" actually tests for the number of files
in .git/objects/pack/, which has a few temporary packs now.
I guess that 8b4eb6b(Do not perform cross-directory renames when
creating packs) was "responsible" for the breakage.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--attach_--stdout_initial..master')
0 files changed, 0 insertions, 0 deletions