diff options
author | Junio C Hamano <junkio@cox.net> | 2006-09-01 15:05:12 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-02 17:08:10 -0700 |
commit | df6d61017a17efe67e4709028fea8e820b5efc5e (patch) | |
tree | 535930423bfbc4d3de5360c152db463278544ee5 /builtin-update-index.c | |
parent | 6ce4e61f1be690681f6494eb5ca26540c2316f81 (diff) | |
download | git-df6d61017a17efe67e4709028fea8e820b5efc5e.tar.gz |
pack-objects: re-validate data we copy from elsewhere.
When reusing data from an existing pack and from a new style
loose objects, we used to just copy it staight into the
resulting pack. Instead make sure they are not corrupt, but
do so only when we are not streaming to stdout, in which case
the receiving end will do the validation either by unpacking
the stream or by constructing the .idx file.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-update-index.c')
0 files changed, 0 insertions, 0 deletions