diff options
author | Mike Hommey <mh@glandium.org> | 2009-01-18 09:04:26 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-06 10:56:27 -0700 |
commit | 4277c6709d1976ee5cef33b7e415ae0dded87090 (patch) | |
tree | 09c03adf122b45787e4011c4d7cf522f0e32452f /remote.c | |
parent | 1b1b7b235b040f27952d48ab8811c958a1f6d052 (diff) | |
download | git-4277c6709d1976ee5cef33b7e415ae0dded87090.tar.gz |
Don't expect verify_pack() callers to set pack_size
Since use_pack() will end up populating pack_size if it is not already set,
we can just adapt the code in verify_packfile() such that it doesn't require
pack_size to be set beforehand.
This allows callers not to have to set pack_size themselves, and we can thus
revert changes from 1c23d794 (Don't die in git-http-fetch when fetching packs).
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.c')
0 files changed, 0 insertions, 0 deletions