[PATCH 2/6] Accept object data in the fsck_object() function

2014-08-28 Thread Johannes Schindelin
When fsck'ing an incoming pack, we need to fsck objects that cannot be read via read_sha1_file() because they are not local yet (and might even be rejected if transfer.fsckobjects is set to 'true'). For commits, there is a hack in place: we basically cache commit objects' buffers anyway, but the

Re: [PATCH 2/6] Accept object data in the fsck_object() function

2014-08-28 Thread Junio C Hamano
Johannes Schindelin johannes.schinde...@gmx.de writes: When fsck'ing an incoming pack, we need to fsck objects that cannot be read via read_sha1_file() because they are not local yet (and might even be rejected if transfer.fsckobjects is set to 'true'). For commits, there is a hack in place: