Re: [PATCH v7 2/4] cat-file: teach cat-file a '--literally' option

2015-04-07 Thread Eric Sunshine
On Sat, Apr 4, 2015 at 1:44 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 which is created using 'git hash-object --literally'. This is because these objects are usually of unknown

[PATCH v7 2/4] cat-file: teach cat-file a '--literally' option

2015-04-03 Thread Karthik Nayak
Currently 'git cat-file' throws an error while trying to print the type or size of a broken/corrupt object which is created using 'git hash-object --literally'. This is because these objects are usually of unknown types. Teach git cat-file a '--literally' option where it prints the type or size