Revision c74faea19e39ca933492f697596310397175c329 authored by Nicolas Pitre on 09 December 2008, 19:26:52 UTC, committed by Junio C Hamano on 11 December 2008, 01:56:05 UTC
Especially on Windows where an opened file cannot be replaced, make
sure pack-objects always close packs it is about to replace. Even on
non Windows systems, this could save potential bad results if ever
objects were to be read from the new pack file using offset from the old
index.

This should fix t5303 on Windows.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Tested-by: Johannes Sixt <j6t@kdbg.org> (MinGW)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent aa971cb
History
File Mode Size
.gitignore -rw-r--r-- 47 bytes
Git.pm -rw-r--r-- 34.6 KB
Makefile -rw-r--r-- 1.4 KB
Makefile.PL -rw-r--r-- 745 bytes
private-Error.pm -rw-r--r-- 18.6 KB

back to top