commit | 4277c6709d1976ee5cef33b7e415ae0dded87090 | [log] [tgz] |
---|---|---|
author | Mike Hommey <mh@glandium.org> | Sun Jan 18 09:04:26 2009 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Sat Jun 06 10:56:27 2009 -0700 |
tree | 09c03adf122b45787e4011c4d7cf522f0e32452f | |
parent | 1b1b7b235b040f27952d48ab8811c958a1f6d052 [diff] |
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>