diff options
author | Nicolas Pitre <nico@cam.org> | 2007-03-21 00:07:48 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-21 08:09:59 +0300 |
commit | 9096c660a85c4a3d30f8885c766c34ce0766e869 (patch) | |
tree | 6e4f7b7b59ddd13684b044754278211a9f62e2e1 /GIT-VERSION-GEN | |
parent | ce9fbf16e0000ecca92870a90e4b30afcb3917b7 (diff) |
index-pack: more validation checks and cleanups
When appending objects to a pack, make sure the appended data is really
what we expect instead of simply loading potentially corrupted objects
and legitimating them by computing a SHA1 of that corrupt data.
With this the sha1_object() can lose its test_for_collision parameter
which is now redundent.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'GIT-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions