Re: [PATCH v4 2/2] sha1_file: refactor sha1_file.c to support 'cat-file --literally'

2015-03-18 Thread karthik nayak
On 03/18/2015 01:40 AM, Junio C Hamano wrote: Karthik Nayak writes: Subject: Re: [PATCH v4 2/2] sha1_file: refactor sha1_file.c to support 'cat-file --literally' Modify sha1_loose_object_info() to support 'cat-file --literally' by accepting flags and also make chan

Re: [PATCH v4 2/2] sha1_file: refactor sha1_file.c to support 'cat-file --literally'

2015-03-17 Thread Junio C Hamano
Karthik Nayak writes: > Subject: Re: [PATCH v4 2/2] sha1_file: refactor sha1_file.c to support > 'cat-file --literally' > Modify sha1_loose_object_info() to support 'cat-file --literally' > by accepting flags and also make changes to copy the type to > objec

[PATCH v4 2/2] sha1_file: refactor sha1_file.c to support 'cat-file --literally'

2015-03-16 Thread Karthik Nayak
Modify sha1_loose_object_info() to support 'cat-file --literally' by accepting flags and also make changes to copy the type to object_info::typename. Add parse_sha1_header_extended() which acts as a wrapper around parse_sha1_header() allowing for more information to be obtained based on the given