summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-01-18 11:26:06 -0500
committerShawn O. Pearce <spearce@spearce.org>2007-01-18 11:26:06 -0500
commit566f44252b00003d1f4e7baaaf709d74bf73770f (patch)
treea3502cb54ded9a27954cb3d895a86770ab56994d /contrib/persistent-https
parent69e74e7412603dd536695c3d6a397673e8ae2bd2 (diff)
downloadgit-566f44252b00003d1f4e7baaaf709d74bf73770f.tar.gz
git-566f44252b00003d1f4e7baaaf709d74bf73770f.zip
Always use struct pack_header for pack header in fast-import.
Previously we were using 'unsigned int' to update the hdr_entries field of the pack header after the file had been completed and was being hashed. This may not be 32 bits on all platforms. Instead we want to always uint32_t. I'm actually cheating here by just using the pack_header like the rest of Git and letting the struct definition declare the correct type. Right now that field is still 'unsigned int' (wrong) but a pending change submitted by Simon 'corecode' Schubert changes it to uint32_t. After that change is merged in fast-import will do the right thing all of the time. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions