Reuse fixup_pack_header_footer in index-pack
commitcbc6bdab08af239b5a6477e7e6db16a766ec4986
authorShawn O. Pearce <spearce@spearce.org>
Wed, 2 May 2007 16:14:15 +0000 (2 12:14 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 2 May 2007 17:24:21 +0000 (2 13:24 -0400)
tree2c2f7a482376e941f84ca01ec204a3fd1efe2e80
parent8b0eca7c7b73d0dc5d49f400a878d9b781ec4bec
Reuse fixup_pack_header_footer in index-pack

Now that fast-import is using a "library function" to handle
correcting its packfile's object count and trailing SHA-1 we
should reuse the same function in index-pack, to reduce the
size of the code we must maintain.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
index-pack.c