author | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 16 Jan 2007 06:17:47 +0000 (01:17 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 16 Jan 2007 06:17:47 +0000 (01:17 -0500) | ||
commit | 1280158738333109cf0ada2fb378db2cdf7296ad | |
tree | 26411c6349fb1397635b1a717af4d50d4f402259 | tree | snapshot |
parent | 8455e48476634eeff6fd2cd4f245cadfef14bbc8 | commit | diff |
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>
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 | diff | blob | history |