Code

Create pack-write.c for common pack writing code
authorDana L. How <danahow@gmail.com>
Wed, 2 May 2007 16:13:14 +0000 (12:13 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 2 May 2007 17:24:18 +0000 (13:24 -0400)
commit8b0eca7c7b73d0dc5d49f400a878d9b781ec4bec
treeceb7cab66263987f79c156c223870d0efadb1f6c
parentdb81e67a7d559544f8464cdfd011208e60b76344
Create pack-write.c for common pack writing code

Include a generalized fixup_pack_header_footer() in this new file.
Needed by git-repack --max-pack-size feature in a later patchset.

[sp: Moved close(pack_fd) to callers, to support index-pack, and
     changed name to better indicate it is for packfiles.]

Signed-off-by: Dana L. How <danahow@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Makefile
fast-import.c
pack-write.c [new file with mode: 0644]
pack.h