author | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 16 Jan 2007 05:44:48 +0000 (00:44 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 16 Jan 2007 05:44:48 +0000 (00:44 -0500) | ||
commit | 09543c96bbe41d312bc002c293a193aa328c839d | |
tree | 4443bde80b42496c378930d8325867e5e017a1f3 | tree | snapshot |
parent | 6cf092619376f5bf60987f146d142497ded2f718 | commit | diff |
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>
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 | diff | blob | history |