]> git.ipfire.org Git - thirdparty/git.git/commit
Reuse sha1 in packed_git in fast-import.
authorShawn O. Pearce <spearce@spearce.org>
Tue, 16 Jan 2007 05:44:48 +0000 (00:44 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 16 Jan 2007 05:44:48 +0000 (00:44 -0500)
commit09543c96bbe41d312bc002c293a193aa328c839d
tree4443bde80b42496c378930d8325867e5e017a1f3
parent6cf092619376f5bf60987f146d142497ded2f718
Reuse sha1 in packed_git in fast-import.

Rather than maintaing our own packfile level sha1 variable we
can make use of the one already available in struct packed_git.
Its meant for the SHA1 of the index but it can also hold the
SHA1 of the packfile itself between final checksumming of the
packfile and creation of the index.

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