git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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
Next: Karthik Nayak
Message 1 of 7 in “cat-file: add a '--literally' option”
  1. 0/2 cat-file: add a '--literally' optionkarthik nayak, Mar 17, 2015
  2. 1/2 cat-file: teach cat-file a '--literally' optionKarthik Nayak, Mar 17, 2015
  3. Eric SunshineMar 17, 2015
  4. Karthik NayakMar 17, 2015
  5. 2/2 sha1_file: refactor sha1_file.c to support 'cat-file --literally'Karthik Nayak, Mar 17, 2015
  6. Junio C HamanoMar 17, 2015
  7. karthik nayakMar 18, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.