Code

Ensure we close the packfile after creating it in fast-import.
authorShawn O. Pearce <spearce@spearce.org>
Tue, 16 Jan 2007 06:17:47 +0000 (01:17 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 16 Jan 2007 06:17:47 +0000 (01:17 -0500)
commit1280158738333109cf0ada2fb378db2cdf7296ad
tree26411c6349fb1397635b1a717af4d50d4f402259
parent8455e48476634eeff6fd2cd4f245cadfef14bbc8
Ensure we close the packfile after creating it in fast-import.

Because we are renaming the packfile into its file destination we
need to be sure its not open when the rename is called, otherwise
some operating systems (e.g. Windows) may prevent the rename from
occurring.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
fast-import.c