Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-03-21 00:07:48 +0300
committerJunio C Hamano <junkio@cox.net>2007-03-21 08:09:59 +0300
commit9096c660a85c4a3d30f8885c766c34ce0766e869 (patch)
tree6e4f7b7b59ddd13684b044754278211a9f62e2e1 /object.c
parentce9fbf16e0000ecca92870a90e4b30afcb3917b7 (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 'object.c')
0 files changed, 0 insertions, 0 deletions