On Fri, 6 Sep 2013, Nicolas Pitre wrote: > On Fri, 6 Sep 2013, Duy Nguyen wrote: > > > In your code you reject sha1ref starting with zero too > > (sha1_file.c::get_base_delta and packv4-parse.c::decode_entries) > > Yeah... because I wrote the minimum code to make it work with the > current encoder. But the decoder could be more lenient than that. It's > just a matter of adding a call to find_pack_entry_one() when the sha1ref > index is 0.
FYI I've added the missing code to packv4-parse.c::decode_entries. The code in sha1_file.c::get_delta_base was already fine. Nicolas -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html