[PATCH v4 0/2] cat-file: add a '--literally' option
- From
karthik nayak <karthik.188@gmail.com>
- Date
- Mar 17, 2015, 05:13 UTC
- Message-ID
- <5507B7EE.1070403@gmail.com>
Based on Junios and Erics suggestion I have made various changes over the previous iteration of the patch[1].
Changes in this version : * Add a object_info::typename to hold all the typenames. * Add a wrapper around parse_sha1_header() to get type and size of broken/corrupt objects without throwing an error whenever the type is unknown. * Also add an option for 'cat-file -s --literally'.
Thanks to Junio and Eric for their suggestions and guidance.
[1]http://article.gmane.org/gmane.comp.version-control.git/264853