diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-01-18 11:26:06 -0500 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-01-18 11:26:06 -0500 |
commit | 566f44252b00003d1f4e7baaaf709d74bf73770f (patch) | |
tree | a3502cb54ded9a27954cb3d895a86770ab56994d /ssh-push.c | |
parent | Correct packfile edge output in fast-import. (diff) | |
download | tgif-566f44252b00003d1f4e7baaaf709d74bf73770f.tar.xz |
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 'ssh-push.c')
0 files changed, 0 insertions, 0 deletions