Re: [PATCH v9 3/5] cat-file: teach cat-file a '--allow-unknown-type' option

2015-04-29 Thread karthik nayak
On 04/29/2015 08:23 PM, Phil Hord wrote: On Wed, Apr 29, 2015 at 9:01 AM Karthik Nayak karthik@gmail.com wrote: Currently 'git cat-file' throws an error while trying to print the type or size of a broken/corrupt object. This is because these objects are usually of unknown types. Teach

Re: [PATCH v9 3/5] cat-file: teach cat-file a '--allow-unknown-type' option

2015-04-29 Thread Junio C Hamano
Karthik Nayak karthik@gmail.com writes: Currently 'git cat-file' throws an error while trying to print the type or size of a broken/corrupt object. This is because these objects are usually of unknown types. Teach git cat-file a '--allow-unkown-type' option where it prints the type or