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

[PATCH 0/2] cat-file --literally

From
karthik nayak <karthik.188@gmail.com>
Date
Feb 25, 2015, 11:06 UTC
Message-ID
<54EDACC9.5080204@gmail.com>

These changes introduce a "--literally" option to "cat-file" to allow us to read the type of any loose object, mostly the ones created using the "--literally" option of "hash-object".

For now it works with the "-t" option as :
     git cat-object -t --literally <object_sha>
Can be made to work with "-e" and "-s" option in the future.

The first patch adds "sha1_object_type_literally()" which is called by "cat-object" to print the type. The second patch adds the "--literally" option to "cat-file".

These patches are in response for the patches made here : http://thread.gmane.org/gmane.comp.version-control.git/243560/focus=243628

Next: Karthik Nayak
Message 1 of 11 in “cat-file --literally”
  1. 0/2 cat-file --literallykarthik nayak, Feb 25, 2015
  2. 1/2 sha1_file: Add sha1_object_type_literally and export it.Karthik Nayak, Feb 25, 2015
  3. David TurnerFeb 25, 2015
  4. karthik nayakFeb 25, 2015
  5. David TurnerFeb 25, 2015
  6. Junio C HamanoFeb 25, 2015
  7. Junio C HamanoFeb 25, 2015
  8. Eric SunshineFeb 25, 2015
  9. Karthik NayakFeb 26, 2015
  10. 2/2 cat-file: add --literally option.Karthik Nayak, Feb 25, 2015
  11. Eric SunshineFeb 25, 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.