Re: [PATCH v9 1/5] sha1_file: support reading from a loose object of unknown type

2015-04-29 Thread Junio C Hamano
Karthik Nayak karthik@gmail.com writes: Update sha1_loose_object_info() to optionally allow it to read from a loose object file of unknown/bogus type; as the function usually returns the type of the object it read in the form of enum for known types, add an optional typename field to

Re: [PATCH v9 1/5] sha1_file: support reading from a loose object of unknown type

2015-04-29 Thread karthik nayak
On 04/30/2015 01:05 AM, Junio C Hamano wrote: karthik nayak karthik@gmail.com writes: On 04/29/2015 08:19 PM, Junio C Hamano wrote: Karthik Nayak karthik@gmail.com writes: Update sha1_loose_object_info() to optionally allow it to read from a loose object file of unknown/bogus